JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 06:51:12 +0000 (14:51 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 06:51:12 +0000 (14:51 +0800)
JSDOC/ScopeParser.js

index 9ba8c6d..8b4b7e1 100644 (file)
@@ -362,7 +362,7 @@ ScopeParser.prototype = {
                     
                     // skip anyting with "." before it..!!
                     print("check dot:");
-                    if (this.ts.lookTok(-1).data(".")) {
+                    if (this.ts.lookTok(-1).data == ".") {
                         // skip, it's an object prop.
                         //println("<i>"+token.data+"</i>");
                         break;