From: Alan Knowles Date: Wed, 21 Jul 2010 15:25:36 +0000 (+0800) Subject: JSDOC/SymbolSet.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=0d33e7e2348a1f9c095d627411a18557d92c1aa3 JSDOC/SymbolSet.js --- diff --git a/JSDOC/SymbolSet.js b/JSDOC/SymbolSet.js index 6733044..e17e12c 100644 --- a/JSDOC/SymbolSet.js +++ b/JSDOC/SymbolSet.js @@ -64,12 +64,12 @@ SymbolSet = XObject.define( /** * for serializing */ - toObject : function() { - var ret = {} - for (var p in this._index) { - ret[p] = this._index[p].toObject(); + toJSON : function() { + return { + _object : 'SymbolSet', + _index : this.index; } - return ret; + },