Skip to content

Commit

Permalink
fix semicolon position
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 9, 2022
1 parent 2403a36 commit 761a542
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 761a542

Please sign in to comment.