Permalink
Browse files

Merge pull request #149 from killdream/master

Adds missing whitespace characters to WHITESPACE_CHARS
  • Loading branch information...
2 parents a303476 + d021ad8 commit 86a1d8d23e8e8d47beee7449b1d2bf2d8362d664 @mishoo mishoo committed May 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/parse-js.js
View
@@ -189,7 +189,7 @@ var OPERATORS = array_to_hash([
"||"
]);
-var WHITESPACE_CHARS = array_to_hash(characters(" \n\r\t\u200b"));
+var WHITESPACE_CHARS = array_to_hash(characters(" \u00a0\n\r\t\f\v\u200b"));
var PUNC_BEFORE_EXPRESSION = array_to_hash(characters("[{}(,.;:"));

0 comments on commit 86a1d8d

Please sign in to comment.