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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy