Skip to content

Commit

Permalink
fix dialog.effect support
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 5, 2012
1 parent 961535a commit 14b6845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var active;
* Expose `dialog()`.
*/

module.exports = dialog;
exports = module.exports = dialog;

/**
* Expose `Dialog`.
Expand Down Expand Up @@ -68,7 +68,7 @@ function Dialog(options) {
this.el = $(this.template);
this.render(options);
if (active && !active.hiding) active.hide();
if (Dialog.effect) this.effect(Dialog.effect);
if (exports.effect) this.effect(exports.effect);
active = this;
};

Expand Down

0 comments on commit 14b6845

Please sign in to comment.