From 4d43503936d7e86d51922f94b1da228291a5b89e Mon Sep 17 00:00:00 2001 From: Pelle Nilsson Date: Thu, 4 Jun 2020 22:12:34 +0200 Subject: [PATCH] Fix: Using 'this' for global object doesn't work in strict mode --- tools/wrap.start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wrap.start b/tools/wrap.start index d9572cb..29c64f9 100644 --- a/tools/wrap.start +++ b/tools/wrap.start @@ -8,6 +8,6 @@ // Browser globals root.principium = factory(root.$, root._); } -}(this, function ($, _) { +}(window, function ($, _) {