From 51ab442b462e3386b628a0bc135f4123f588d559 Mon Sep 17 00:00:00 2001 From: Simon Menke Date: Fri, 25 Jul 2014 11:55:43 +0200 Subject: [PATCH] WebWorkers don't have window. Assume `this` is the global object. --- url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url.js b/url.js index bbae2aa..6d26a1f 100644 --- a/url.js +++ b/url.js @@ -562,4 +562,4 @@ scope.URL = jURL; -})(window); +})(this);