From 14b6845cc2276d695d1ff04b2cc03c99c6d22d01 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 5 Jul 2012 12:15:06 -0700 Subject: [PATCH] fix dialog.effect support --- dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialog.js b/dialog.js index ea0092d..dd6e26c 100644 --- a/dialog.js +++ b/dialog.js @@ -17,7 +17,7 @@ var active; * Expose `dialog()`. */ -module.exports = dialog; +exports = module.exports = dialog; /** * Expose `Dialog`. @@ -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; };