-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: remove document.write * fixes --------- Co-authored-by: Shane Osbourne <[email protected]>
- Loading branch information
1 parent
3b0581e
commit 019f8ea
Showing
5 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script id="__bs_script__">//<![CDATA[ | ||
(function() { | ||
try { | ||
var script = document.createElement('script'); | ||
if ('%async%') { | ||
script.async = true; | ||
} | ||
script.src = '%script%'.replace("HOST", location.hostname); | ||
if (document.body) { | ||
document.body.appendChild(script); | ||
} | ||
} catch (e) { | ||
console.error("Browsersync: could not append script tag", e); | ||
} | ||
})() | ||
//]]></script> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters