JSDOC/Symbol.js
authorAlan Knowles <alan@roojs.com>
Mon, 22 Sep 2014 10:06:35 +0000 (18:06 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 22 Sep 2014 10:06:35 +0000 (18:06 +0800)
JSDOC/Symbol.js

index 426fc2e..159e79f 100644 (file)
@@ -451,10 +451,10 @@ Symbol = XObject.define(
                 // @static
             if (this.comment.getTag("singleton").length) {
                 this.isStatic = true;
-                print('------------- got singleton ---------------');
-                //if (this.isa == "CONSTRUCTOR") {
-                //     this.isNamespace = true;
-                //}
+                print('------------- got singleton ---------------' + this.isa);
+                if (this.isa == "CONSTRUCTOR") {
+                       this.isNamespace = true;
+                }
             }