JSDOC/ScopeParser.js
authorAlan Knowles <alan@roojs.com>
Thu, 13 Dec 2012 08:20:18 +0000 (16:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 13 Dec 2012 08:20:18 +0000 (16:20 +0800)
JSDOC/ScopeParser.js

index a908c68..aae3b2c 100644 (file)
@@ -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) {