JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:04:30 +0000 (16:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:04:30 +0000 (16:04 +0800)
JSDOC/ScopeParser.js

index 127a1a9..848fb61 100644 (file)
@@ -227,7 +227,7 @@ ScopeParser.prototype = {
         if (thisScope) {
             this.scopes.push(scope);
         } else {
-            thisScope = this.scopes[scopes.length-1]
+            thisScope = this.scopes[this.scopes.length-1]
         }
        
         //var scopeIndent = '';