Run in-browser translated code in the same context as precompiled code.

This commit is contained in:
Tony Garnock-Jones 2016-06-11 07:01:30 -04:00
parent dcd8819778
commit 03616226e1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function translateSyndicateScripts() {
var output = compiler.compileSyndicateSource(allSourceText);
var f = new Function(output);
f();
f.call(window);
}
document.addEventListener('DOMContentLoaded', translateSyndicateScripts, false);