fix typo
This commit is contained in:
parent
1b116afdda
commit
3e9cc0a417
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const getApiUrl = (type: FileType, index: number): string => {
|
||||||
/**
|
/**
|
||||||
* Retrieve (webpack_require) a module from the page's webpack package
|
* Retrieve (webpack_require) a module from the page's webpack package
|
||||||
*
|
*
|
||||||
* I know this is super hacking.
|
* I know this is super hacky.
|
||||||
*/
|
*/
|
||||||
const webpackHook = (moduleId: string, globalWebpackJson = window['webpackJsonpmusescore']) => {
|
const webpackHook = (moduleId: string, globalWebpackJson = window['webpackJsonpmusescore']) => {
|
||||||
const pack = globalWebpackJson.find(x => x[1][moduleId])
|
const pack = globalWebpackJson.find(x => x[1][moduleId])
|
||||||
|
|
Loading…
Reference in a new issue