From 1e91cf816b2269a327c24ba6ab823f9ed8e6d15b Mon Sep 17 00:00:00 2001 From: Kirushanth Sakthivetpillai Date: Tue, 5 Jan 2016 11:19:48 -0500 Subject: [PATCH] Update gulpfile.js root can be either window, globals but without this, JS will not lookup in globals object --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 04a645394..7c461f4f1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -86,7 +86,7 @@ function buildTask() { " }\n"+ "}(this || window, function(<%= param %>) {\n"+ "<%= contents %>\n"+ - "return <%= exports %>;\n"+ + "return this.<%= exports %>;\n"+ "}));\n", dependencies: function() { return ['moment'] -- 2.47.2