aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rwxr-xr-xstatic/bigpipe.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/bigpipe.js b/static/bigpipe.js
index a27eec9..fa56d21 100755
--- a/static/bigpipe.js
+++ b/static/bigpipe.js
@@ -24,7 +24,7 @@ var BigPipe = (function() {
execute: function(context, phase) {
context.phaseDoneJS[phase].forEach(function(code) {
try {
- globalExecution(code);
+ window.eval.call(window, code);
} catch(e) {
console.error("PhaseDoneJS: " + e);
}
@@ -215,7 +215,7 @@ var BigPipe = (function() {
Pagelet.prototype.executeJSCode = function() {
this.JSCode.forEach(function(code) {
try {
- globalExecution(code);
+ window.eval.call(window, code);
} catch(e) {
console.error(this.ID + ": " + e);
}