// work out remaining items...
// output xns / xtype first..
+ if (this.out_props.has_key("xtype") {
+ var v = this.out_props.get("xtype");
+ this.node.setLine(this.cur_line, "p","xtype");
+ this.addLine(this.pad + "xtype" + " : " + v + suffix, ',');
+ }
// plain properties.
var iter = this.orderedPropKeys().list_iterator();
var k = iter.get();
+ if (k == "xns" || x == "xtype") {
+ continue;
+ }
+
var v = this.out_props.get(k);
this.node.setLine(this.cur_line, "p",k);
this.addLine(this.pad + k + " : " + v + suffix, ',');
this.node.setLine(this.cur_line, "p","| xns" );
- if (k == "xns") {
- this.addLine(this.pad + "'|xns' : '" + v + "'", ',');
- }
this.node.setLine(this.cur_line, "e", "");
//------- at this point it is the end of the code relating directly to the object..
-
+ if (this.out_props.has_key("xns") {
+ var v = this.out_props.get("xns");
+ this.node.setLine(this.cur_line, "p","xns");
+ this.addLine(this.pad + "xns" + " : " + v + suffix, ',');
+ this.node.setLine(this.cur_line, "p","| xns");
+ this.addLine(this.pad + "'|xns' : '" + v + "'", ',');
+ }
this.node.line_end = this.cur_line;