JSDOC/ScopeNamer.js
authorAlan Knowles <alan@roojs.com>
Wed, 23 Nov 2011 03:17:48 +0000 (11:17 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 Nov 2011 03:17:48 +0000 (11:17 +0800)
JSDOC/ScopeNamer.js

index 6c5eb05..403a190 100644 (file)
@@ -159,7 +159,7 @@ ScopeNamer = XObject.define(
             
             
             if (this.filename.match(/pack\.js/) && isGlobal) {
-                print(JSON.stringify(stmt[0].jsdoc, null,4));
+                print(JSON.stringify(stmt , null,4));
             }
             // @ignore stops the parser..
             if (isGlobal &&