X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fcore%2FTemplate.java;h=1e742c4e0f752ba2cf37a746d5db8eff7e4f67c3;hp=6e29c4a1452cef387af86f1e75f4a3bffe4b85b6;hb=fffcafc33aa4066bdf85da7a32e1a1cdb9db2d6f;hpb=592fa04faf2d7c5bbf5fceae5a81da13f4791261 diff --git a/src/org/ibex/core/Template.java b/src/org/ibex/core/Template.java index 6e29c4a..1e742c4 100644 --- a/src/org/ibex/core/Template.java +++ b/src/org/ibex/core/Template.java @@ -166,7 +166,7 @@ public class Template { initial_uri = ""; parse(new InputStreamReader(is)); JS staticScript = parseScript(static_content, static_content_start); - t.staticObject = new JS(); + t.staticObject = new JS.O(); t.staticScope = new PerInstantiationScope(null, ibex, null, t.staticObject); if (staticScript != null) JS.cloneWithNewParentScope(staticScript, t.staticScope).call(null, null, null, null, 0); }