summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2022-02-15 15:04:19 +0200
committerJustOff <Off.Just.Off@gmail.com>2022-02-15 15:04:19 +0200
commit39c28e373883216d7f89e17cdaf9e2a91e1a05a3 (patch)
tree31baf684649cad08718e3e600801378d8f5c623b
parent2440db08a96d1d97a2f3c3c78e3122a3723ab76d (diff)
downloadgithub-wc-polyfill-39c28e373883216d7f89e17cdaf9e2a91e1a05a3.tar.gz
Revert "Temp fix for GitHub modern ECMAScript mania"
This reverts commit 17b52b6027472e5002dfef8a0607acf2dca80427.
-rw-r--r--bootstrap.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstrap.js b/bootstrap.js
index 9057b1a..9e73e93 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -263,7 +263,6 @@ tracingListener.prototype = {
try {
if (this.site == "github") {
data = data.replace("<head>", "<head><script crossorigin=\"anonymous\" integrity=\"sha512-g4ztuyuFPzjTvIqYBeZdHEDaHz2K6RCz4RszsnL3m5ko4kiWCjB9W6uIScLkNr8l/BtC2dYiIFkOdOLDYBHLqQ==\" type=\"application/javascript\" src=\"https://github.githubassets.com/assets/compat-838cedbb.js\"></script>");
- data = data.replace(/<script.+environment-[a-z0-9]+\.js"><\/script>/, "<script crossorigin=\"anonymous\" integrity=\"sha512-hCD+yuHX6Po0snD3NcNEqdv4OBBgSdprm+w6CWjfRf/9iXhbuq+6POgT1cqLuNsrBzO5ZIvbOP/X+NTA2HoxJA==\" type=\"application/javascript\" src=\"https://github.githubassets.com/assets/environment-8420feca.js\"></script>");
data = data.replace("<head>", "<head><script>" + pfBase + "</script>");
if (isSeaMonkey) {
data = data.replace("<head>", "<head><script>" + pfSeaMonkey + "</script>");