JSDOC/Symbol.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 20 Jul 2010 23:00:55 +0000 (07:00 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 20 Jul 2010 23:00:55 +0000 (07:00 +0800)
JSDOC/Symbol.js

index c79bc76..d82d5cb 100644 (file)
@@ -26,7 +26,7 @@ Symbol = XObject.define(
         $args : [], // original arguments used when constructing.
         addOn : "",
         alias : "",
-        augments : false, // Doctag
+        augments : [], // Doctag[]
         author : "",
         classDesc : "",
         comment : {},
@@ -34,7 +34,7 @@ Symbol = XObject.define(
         desc : "",
         //events : false,
         example : "",
-        exceptions : [],
+        exceptions : [],  // Doctag[]
         inherits : [],
         inheritsFrom : [],
         isa : "OBJECT", // OBJECT//FUNCTION
@@ -88,11 +88,12 @@ Symbol = XObject.define(
                         switch(i) {
                             //arrays..
                             case 'params' : 
+                            case 'augments' :                             
                                 ret[i] = array2object(this[i],true); 
                                 continue;
                                 
                             //objects..
-                            case 'augments' : 
+                            
                             case 'comment' :
                                 print(JSON.stringify(this[i]));
                                 ret[i] = this[i].toObject();