From: Alan Knowles Date: Thu, 13 Dec 2012 08:20:18 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=0ec6954190be01672fa46ac1ccc91a2c0b08b749 JSDOC/ScopeParser.js --- 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) {