X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2FTemplate.java;h=fb9f4cca87edfc8365d45e42855883e002041260;hb=5a0dc838ac580ec1eb3bd9cc391b8c82f77782d4;hp=28ff21544571cd83d696483f0a84de2d7e0cf8fe;hpb=c28ed126fbc51fb5794bb367f51a8755dc20140e;p=org.ibex.core.git diff --git a/src/org/ibex/Template.java b/src/org/ibex/Template.java index 28ff215..fb9f4cc 100644 --- a/src/org/ibex/Template.java +++ b/src/org/ibex/Template.java @@ -34,6 +34,7 @@ public class Template { Template prev; Template prev2; JSScope staticScope = null; ///< the scope in which the static block is executed + JS staticObject = null; // Only used during parsing ///////////////////////////////////////////////////////////////// @@ -81,7 +82,7 @@ public class Template { // FIXME this dollar stuff is all wrong if (id != null) parentPis.putDollar(id, b); - PerInstantiationScope pis = new PerInstantiationScope(b, ibex, parentPis, staticScope); + PerInstantiationScope pis = new PerInstantiationScope(b, ibex, parentPis, staticObject); for(int i=0; i