Update gulpfile.js

root can be either window, globals but without this, JS will not lookup in globals object
This commit is contained in:
Kirushanth Sakthivetpillai 2016-01-05 11:19:48 -05:00
parent cd29ede572
commit 1e91cf816b

View File

@ -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']