Skip to content

Commit

Permalink
Convert volleyball script to multi-line string.
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunBarad committed Dec 21, 2024
1 parent 42000d2 commit 752e9fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/insertVolleyball.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const stringToInsert = '<script>' +
'window.addEventListener("message", (event) => {' +
' if (!!window.parent && !!event.data.codeCommand) {' +
' window.parent.postMessage(event.data, "*");' +
' }' +
'});' +
const stringToInsert = '<script>\n' +
'window.addEventListener("message", (event) => {\n' +
' if (!!window.parent && !!event.data.codeCommand) {\n' +
' window.parent.postMessage(event.data, "*");\n' +
' }\n' +
'});\n' +
'</script>';

let input = '';
Expand Down

0 comments on commit 752e9fe

Please sign in to comment.