JSDOC/TokenReader.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 07:14:02 +0000 (15:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 07:14:02 +0000 (15:14 +0800)
JSDOC/TokenReader.js

index 0153b90..f60fa7b 100644 (file)
@@ -137,11 +137,11 @@ TokenReader = XObject.define(
             if (found === "") {
                 return false;
             }
-            else {
-                if (this.collapseWhite) found = " ";
-                if (this.keepWhite) tokens.push(new Token(found, "WHIT", "SPACE", this.line));
-                return true;
-            }
+             
+            if (this.collapseWhite) found = " ";
+            if (this.keepWhite) tokens.push(new Token(found, "WHIT", "SPACE", this.line));
+            return true;
+        
         },
 
         /**