Run in-browser translated code in the same context as precompiled code.
This commit is contained in:
parent
dcd8819778
commit
03616226e1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue