From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/webpack/lib/webworker') diff --git a/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js b/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js index cc7615497..ff2d6c2f5 100644 --- a/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js +++ b/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js @@ -82,8 +82,8 @@ class WebWorkerMainTemplatePlugin { }); return source + "\n" + - `var parentHotUpdateCallback = this[${JSON.stringify(hotUpdateFunction)}];\n` + - `this[${JSON.stringify(hotUpdateFunction)}] = ` + + `var parentHotUpdateCallback = self[${JSON.stringify(hotUpdateFunction)}];\n` + + `self[${JSON.stringify(hotUpdateFunction)}] = ` + Template.getFunctionContent(require("./WebWorkerMainTemplate.runtime.js")) .replace(/\/\/\$semicolon/g, ";") .replace(/\$require\$/g, this.requireFn) -- cgit v1.2.3