Skip to content

Commit

Permalink
Merge pull request #79 from tenbits/patch-1
Browse files Browse the repository at this point in the history
Exports: this is undefined with "use strict"
  • Loading branch information
timaschew committed Sep 9, 2014
2 parents d9b1845 + 72a40ed commit 0e7538c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builders/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Scripts.umd = function (canonical, alias, js) {
+ '} else if (typeof define == "function" && define.amd) {\n'
+' define("' + canonical + '", [], function(){ return require("' + canonical + '"); });\n'
+ '} else {\n'
+ ' this["' + alias + '"] = require("' + canonical + '");\n'
+ ' (this || window)["' + alias + '"] = require("' + canonical + '");\n'
+ '}\n'
+ '})()\n';
}
Expand Down

0 comments on commit 0e7538c

Please sign in to comment.