Completely updated React, fixed #11, (hopefully)
This commit is contained in:
4
goTorrentWebUI/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js
generated
vendored
4
goTorrentWebUI/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js
generated
vendored
@@ -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)
|
||||
|
Reference in New Issue
Block a user