diff options
author | John Resig <jeresig@gmail.com> | 2007-02-27 20:37:46 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-02-27 20:37:46 +0000 |
commit | 09f5db51dc2d2058cb6f5573e8ec440f7af46e9b (patch) | |
tree | bafeea5027e90420519ab35d3448ad1db4028868 /build | |
parent | 34cb5b5812db50d921f7c7a0c398eb68167b3da3 (diff) | |
download | jquery-09f5db51dc2d2058cb6f5573e8ec440f7af46e9b.tar.gz jquery-09f5db51dc2d2058cb6f5573e8ec440f7af46e9b.zip |
Reverting my packer changes - need more testing.
Diffstat (limited to 'build')
-rw-r--r-- | build/js/pack.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/js/pack.js b/build/js/pack.js index 2c13dfb26..56bfdd1a2 100644 --- a/build/js/pack.js +++ b/build/js/pack.js @@ -110,7 +110,7 @@ function pack(_script, _encoding, _fastDecode, _specialChars) { var $parser = new ParseMaster; var $encode = _getEncoder(_encoding); // for high-ascii, don't encode single character low-ascii - var $regexp = (_encoding > 62) ? /\w\w+/ : /(\(\)|\){|var |return |&&|==|typeof |function\(?|if\(|for\(|while\(|[a-zA-Z0-9]+|\)}|\[\d\])/; + var $regexp = (_encoding > 62) ? /\w\w+/ : /\w+/; // build the word list $keywords = _analyze($script, _globalize($regexp), $encode); var $encoded = $keywords.$encoded; |