From 8c091ce25733d80d40991220bc4c2d38f210bde0 Mon Sep 17 00:00:00 2001 From: Szymon Dzialowski Date: Thu, 8 Mar 2018 23:59:21 +0000 Subject: [PATCH] More natural condition (fourth place) --- templates/returnExportsGlobal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.