added Form, other minor changes
[org.ibex.xt.git] / src / org / ibex / xt / Template.java
index e941364..f8c4e8d 100644 (file)
@@ -134,6 +134,7 @@ public class Template extends Node.Stream.Filter implements Node.Stream.Functor
                 JSArray a = ((JSArray)exec("return (" + n.attr("in").toString() + ");", this.scope = s));
                 while(true) {
                     JS o = a.call(JSU.S("pop"), new JS[] { });
+                   System.out.println("called pop on a "+a.getClass().getName()+" of length " +a.size()+" , got " + (o==null ? null : o.getClass().getName()));
                     if (o == null) break;
                     array.push(o);
                 }