From 0ec6954190be01672fa46ac1ccc91a2c0b08b749 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 13 Dec 2012 16:20:18 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index a908c68..aae3b2c 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -332,6 +332,8 @@ ScopeParser.prototype = { var curTS = this.ts; if (token.props) { + // { a : ... , c : .... } + for (var prop in token.props) { @@ -357,6 +359,7 @@ ScopeParser.prototype = { break; } + // ( ... ) or { .... } not object literals.. var _this = this; token.items.forEach(function(expr) { -- 2.39.2