projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad35f62
)
JSDOC/DocComment.js
author
Alan Knowles
<alan@akkbhome.com>
Wed, 21 Jul 2010 15:28:19 +0000
(23:28 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 21 Jul 2010 15:28:19 +0000
(23:28 +0800)
JSDOC/DocComment.js
patch
|
blob
|
history
diff --git
a/JSDOC/DocComment.js
b/JSDOC/DocComment.js
index
3d4e20d
..
51e6270
100644
(file)
--- a/
JSDOC/DocComment.js
+++ b/
JSDOC/DocComment.js
@@
-37,13
+37,8
@@
DocComment = XObject.define(
*/
toObject :function(t)
{
*/
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) {
var ret = { };
var _this = this;
['isUserComment','src', 'meta', 'tags'].forEach(function(k) {