Skip to content

Commit

Permalink
fix: Remove redundant semicolons after onScriptComplete function close:
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy committed Oct 8, 2022
1 parent 9fcaa24 commit f122c85
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 124 deletions.
1 change: 0 additions & 1 deletion lib/runtime/LoadScriptRuntimeModule.js
Expand Up @@ -147,7 +147,6 @@ 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 f122c85

Please sign in to comment.