From: Alan Knowles Date: Mon, 11 May 2015 10:51:00 +0000 (+0800) Subject: JSDOC/DocTag.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=7c807b80fcad8e97c28c674bbd15a989a83bcc8b JSDOC/DocTag.js --- 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(); }