static uint indent = 1;
static string indent_str = " ";
+
+
Node node;
Gee.ArrayList<string> doubleStringProps; // need to think if this is a good idea like this
string pad;
-
+ public JsRender renderer;
Gee.HashMap<string,string> out_props;
Gee.HashMap<string,string> out_listeners;
this.cur_line = parent == null ? 0 : parent.cur_line ; //-1 as we usuall concat onto the existin gline?
+ if (parent != null) {
+ this.renderer = parent.renderer;
+ }
this.ret = "";
this.top = parent == null ? this : parent.top;
// reset the maps...
this.out_props.set("html", "Pman.Cms.content(" +
- this.node.quoteString(this.node.get("cms-id")) +
+ this.node.quoteString(this.renderer.name + "::" + this.node.get("cms-id")) +
", " +
this.node.quoteString(v) +
")");
// "']"
//);
this.out_props.set(left, "_this._strings['" +
- GLib.Checksum.compute_for_string (ChecksumType.MD5, v) +
+ GLib.Checksum.compute_for_string (ChecksumType.MD5, v.strip()) +
"']" + com);
continue;
}