JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:27:26 +0000 (13:27 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:27:26 +0000 (13:27 +0800)
JSDOC/ScopeParser.js

index b0b331d..ecc7da2 100644 (file)
@@ -523,7 +523,7 @@ ScopeParser.prototype = {
                     
                      
                     var isInObjectLitAr = isObjectLitAr[isObjectLitAr.length-1];
-                    if (isInObjectLitAr &&  this.ts.lookTok(1).data = ":"  &&
+                    if (isInObjectLitAr &&  this.ts.lookTok(1).data == ":"  &&
                         ( this.ts.lookTok(-1).data == "{"  ||  this.ts.lookTok(-1).data == "," )) {
                         // see if we can replace..
                         // remove the quotes..