From 2493ac484f85bde0ff352f6b7f641d4a3726520f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 15:55:42 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() { -- 2.39.2