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

index 0eb330c..fea331e 100644 (file)
@@ -335,7 +335,7 @@ ScopeNamer = XObject.define(
                     print(JSON.stringify(items, null,4));
                     
                     sn.walkStatements(scope, items[0][2].items);
-                    sn.walkObject(scope + '.prototype', false, items[2].props );
+                    sn.walkObject(scope + '.prototype', false, items[2][0].props );
                     return;