Skip to content

Commit f122c85

Browse files
committed
fix: Remove redundant semicolons after onScriptComplete function close: #16346
1 parent 9fcaa24 commit f122c85

2 files changed

Lines changed: 123 additions & 124 deletions

File tree

lib/runtime/LoadScriptRuntimeModule.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ class LoadScriptRuntimeModule extends HelperRuntimeModule {
147147
"if(prev) return prev(event);"
148148
])
149149
),
150-
";",
151150
`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${loadTimeout});`,
152151
"script.onerror = onScriptComplete.bind(null, script.onerror);",
153152
"script.onload = onScriptComplete.bind(null, script.onload);",

0 commit comments

Comments
 (0)