X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fcore%2FTemplate.java;h=a3d0e4eb3df2b1ec626535d67cf1bf348c1f23e9;hb=7939cb8c6beb87d574f655febf0c57b0eb78e1ad;hp=ddbf5b07f2c70c7e891e581330398b5c95137c52;hpb=76982fccac3c46ccc47621dd22dc0c96b6b9cd62;p=org.ibex.core.git diff --git a/src/org/ibex/core/Template.java b/src/org/ibex/core/Template.java index ddbf5b0..a3d0e4e 100644 --- a/src/org/ibex/core/Template.java +++ b/src/org/ibex/core/Template.java @@ -25,7 +25,7 @@ public class Template { String id = null; ///< the id of this box String redirect = null; ///< the id of the redirect target; only meaningful on a root node - private String[] keys; ///< keys to be "put" to instances of this template; elements correspond to those of vals + private JS[] keys; ///< keys to be "put" to instances of this template; elements correspond to those of vals private JS[] vals; ///< values to be "put" to instances of this template; elements correspond to those of keys private String[] urikeys; private String[] urivals; @@ -33,7 +33,6 @@ public class Template { private JS script = null; ///< the script on this node Template prev; Template prev2; - JSScope staticScope = null; ///< the scope in which the static block is executed JS staticObject = null; @@ -86,8 +85,9 @@ public class Template { for(int i=0; i