fix: webpack global override hook

This commit is contained in:
Xmader 2020-11-09 16:16:44 -05:00
parent 9cc22dc181
commit 1672ba66c4
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ export const webpackGlobalOverride = (() => {
}
// hook `webpackJsonpmusescore.push` as soon as `webpackJsonpmusescore` is available
let jsonp
let jsonp = window['webpackJsonpmusescore']
let hooked = false
Object.defineProperty(window, 'webpackJsonpmusescore', {
get () { return jsonp },