JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 03:44:28 +0000 (11:44 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 03:44:28 +0000 (11:44 +0800)
JSDOC/ScopeParser.js

index 28be76b..9098fae 100644 (file)
@@ -520,7 +520,12 @@ ScopeParser.prototype = {
             
            /*
             // moved out of loop?
-           
+           currentScope = this.scopes[this.scopes.length-1];
+            
+            var scopeIndent = ''; 
+            this.scopes.forEach(function() {
+                scopeIndent += '   '; 
+            });
            */ 
             print(scopeIndent + 'OBJLIT.len='+ isObjectLitAr.length + ' ' + token.data);