From 865aaf8009f3174eb5650de359a94b0704c04386 Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 31 Jan 2013 15:58:19 +0000 Subject: [PATCH] fix exports issue --- static/js/ep_email.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/ep_email.js b/static/js/ep_email.js index c357ada..9149936 100644 --- a/static/js/ep_email.js +++ b/static/js/ep_email.js @@ -1,3 +1,7 @@ +if(typeof exports == 'undefined'){ + var exports = this['mymodule'] = {}; +} + exports.postAceInit = function(hook, context){ // after 10 seconds if we dont already have an email for this author then prompt them setTimeout(function(){init()},10000);