Commit Graph

1 Commits

Author SHA1 Message Date
nightwing
77b5ae1062 fix tokenizer on ie8
changes $arrayTokens to use exec instead of split
 1 it works on ie8
 2 it is faster on chrome http://jsperf.com/capturing-split-vs-exec
unfortunately exec is slow on firefox but ff regexes are a bit rusty atm (v21), and whole tokenizer is slow on it anyway.
2013-02-16 23:09:42 +04:00