mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
clean scramjet scripts from dom
This commit is contained in:
parent
066777fe94
commit
0c0490e751
5 changed files with 25 additions and 2 deletions
|
@ -29,3 +29,7 @@ self.$scramjet.shared = {
|
|||
rewriteWorkers,
|
||||
},
|
||||
};
|
||||
|
||||
if ("document" in self && document.currentScript) {
|
||||
document.currentScript.remove();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue