Skip to content
Permalink
Browse files
Reverting my packer changes - need more testing.
  • Loading branch information
jeresig committed Feb 27, 2007
1 parent 34cb5b5 commit 09f5db51dc2d2058cb6f5573e8ec440f7af46e9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 09f5db5

Please sign in to comment.