From: Alan Knowles Date: Thu, 15 Jul 2010 07:55:42 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=2493ac484f85bde0ff352f6b7f641d4a3726520f JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 9701de0..c8ed336 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -223,7 +223,10 @@ ScopeParser.prototype = { var isObjectLitAr = [ false ]; var isInObjectLitAr; - this.scopes.push(scope); + if (scope) { + this.scopes.push(scope); + } + //var scopeIndent = ''; //this.scopes.forEach(function() {