From 91ca6ca48be70c075a1e87c6363663a8aa4427a2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 21 Jul 2010 23:28:19 +0800 Subject: [PATCH] JSDOC/DocComment.js --- JSDOC/DocComment.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/JSDOC/DocComment.js b/JSDOC/DocComment.js index 3d4e20d..51e6270 100644 --- a/JSDOC/DocComment.js +++ b/JSDOC/DocComment.js @@ -37,13 +37,8 @@ DocComment = XObject.define( */ toObject :function(t) { - function array2object(a) - { - var r = []; - a.forEach(function(e) { - r.push(e.toObject()); - }) - } + + var ret = { _object : 'DocComment' }; var ret = { }; var _this = this; ['isUserComment','src', 'meta', 'tags'].forEach(function(k) { -- 2.39.2