From 2d2007baca94d1cc7e9e71b6db12f37b9a5db58f Mon Sep 17 00:00:00 2001 From: Szymon Dzialowski Date: Thu, 8 Mar 2018 23:57:30 +0000 Subject: [PATCH] More natural condition (second place) --- templates/amdWeb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/amdWeb.js b/templates/amdWeb.js index 6c9bb32..11a91f1 100644 --- a/templates/amdWeb.js +++ b/templates/amdWeb.js @@ -23,7 +23,7 @@ // Browser globals root.amdWeb = 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.