JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 05:51:44 +0000 (13:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 05:51:44 +0000 (13:51 +0800)
JSDOC/ScopeParser.js

index 9a83e08..2199ef0 100644 (file)
@@ -323,6 +323,12 @@ ScopeParser.prototype = {
                 case "PUNC.LEFT_CURLY": // {
                     print('SCOPE-CURLY:' + JSON.stringify(token,null,4));
                     //println("<i>"+token.data+"</i>");
+                    
+                    if (token.props) {
+                        // it's an object literal..
+                        // the values could be replaced..
+                    }
+                    
                     isObjectLitAr.push(false);
                     this.braceNesting++;