case 'boolean':
ret[i] = this[i]; continue;
default:
- print("unknown type:" + typeof(this[i]));
+
+ print("unknown type: (" + i + ")" + typeof(this[i]));
+ this.toJSON = null;q
+ print(JSON.stringify(this));;
Seed.quit();
}
}
src = src.trim();
if (this.title == "cfg" && src.match(/^\([^)]+\)/)) {
var m = src.match(/^\(([^)]+)\)/);
+ print(m);
if (m[1].match(/\|/)) {
var opts = m[1].split(/\|/);
this.optvalues = opts;
src = src.substring(m[0].length).trim();
+ print(src);
}