mirror of
https://github.com/He4eT/DotDashPit.git
synced 2026-05-05 01:47:22 +00:00
es3: add polyfills and scripts
This commit is contained in:
parent
4da7646bb4
commit
e11a3fc4e5
3 changed files with 46 additions and 0 deletions
10
polyfills/inject.sh
Executable file
10
polyfills/inject.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
POLYFILLS_FILE="./polyfills/polyfills.js"
|
||||
GAME_FILE="game.js"
|
||||
TEMP_FILE="merged_game.js"
|
||||
|
||||
sed -i 's/TIC()/_()/' "$GAME_FILE"
|
||||
|
||||
cat "$POLYFILLS_FILE" "$GAME_FILE" > "$TEMP_FILE"
|
||||
mv "$TEMP_FILE" "$GAME_FILE"
|
||||
Loading…
Add table
Add a link
Reference in a new issue