diff --git a/templates/returnExportsGlobal.js b/templates/returnExportsGlobal.js index 14aa3aa..58dee9f 100644 --- a/templates/returnExportsGlobal.js +++ b/templates/returnExportsGlobal.js @@ -29,7 +29,7 @@ // Browser globals root.returnExportsGlobal = factory(root.b); } -}(typeof self !== 'undefined' ? self : this, function (b) { +}(typeof self === 'undefined' ? this : self, function (b) { // Use b in some fashion. // Just return a value to define the module export.