From 7c807b80fcad8e97c28c674bbd15a989a83bcc8b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 11 May 2015 18:51:00 +0800 Subject: [PATCH 1/1] JSDOC/DocTag.js --- JSDOC/DocTag.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/JSDOC/DocTag.js b/JSDOC/DocTag.js index 6b69d44..2e5dfdb 100644 --- a/JSDOC/DocTag.js +++ b/JSDOC/DocTag.js @@ -48,6 +48,11 @@ DocTag = XObject.define( var ret = { '*object' : 'DocTag' }; for (var i in this) { + if (i == 'optvalues') { + ret[i] = this.optvalues; + continue; + } + switch (typeof(this[i])) { case 'function': continue; @@ -57,10 +62,13 @@ DocTag = XObject.define( case 'number': case 'boolean': ret[i] = this[i]; continue; + + + default: print("unknown type: (" + i + ")" + typeof(this[i])); - this.toJSON = null;q + this.toJSON = null; print(JSON.stringify(this));; Seed.quit(); } -- 2.39.2