Skip to content

Commit

Permalink
Merge pull request #16458 from webpack/bugfix/semi
Browse files Browse the repository at this point in the history
fix semicolon position
  • Loading branch information
sokra committed Nov 9, 2022
2 parents 4608b11 + 761a542 commit a91d923
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 89 deletions.
4 changes: 2 additions & 2 deletions lib/runtime/LoadScriptRuntimeModule.js
Expand Up @@ -146,8 +146,8 @@ class LoadScriptRuntimeModule extends HelperRuntimeModule {
)});`,
"if(prev) return prev(event);"
])
),
";",
) +
";",
`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${loadTimeout});`,
"script.onerror = onScriptComplete.bind(null, script.onerror);",
"script.onload = onScriptComplete.bind(null, script.onload);",
Expand Down

0 comments on commit a91d923

Please sign in to comment.