JSDOC/ScopeNamer.js
[app.jsdoc] / JSDOC / ScopeNamer.js
index fea331e..ed4b449 100644 (file)
@@ -333,8 +333,10 @@ ScopeNamer = XObject.define(
                     this.addSymbol(symbol, jsdocTok.jsdoc);
                     var sn = new ScopeNamer(this);
                     print(JSON.stringify(items, null,4));
+                    // ctr statements.
+                    sn.walkStatements(scope + '.prototype', items[0][2].items);
+                    
                     
-                    sn.walkStatements(scope, items[0][2].items);
                     sn.walkObject(scope + '.prototype', false, items[2][0].props );
                     return;