Skip to content

Commit a91d923

Browse files
authored
Merge pull request #16458 from webpack/bugfix/semi
fix semicolon position
2 parents 4608b11 + 761a542 commit a91d923

File tree

2 files changed

+89
-89
lines changed

2 files changed

+89
-89
lines changed

lib/runtime/LoadScriptRuntimeModule.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class LoadScriptRuntimeModule extends HelperRuntimeModule {
146146
)});`,
147147
"if(prev) return prev(event);"
148148
])
149-
),
150-
";",
149+
) +
150+
";",
151151
`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${loadTimeout});`,
152152
"script.onerror = onScriptComplete.bind(null, script.onerror);",
153153
"script.onload = onScriptComplete.bind(null, script.onload);",

0 commit comments

Comments
 (0)