EasyPack- pushbutton validation and compression

EasyPack logo

So, what is EasyPack?

EasyPack enables syntax checking, validation, compression and obsfucation of JavaScript files with a single click.

You can download the lastest version and read more about in in this codeproject article.

Known issues

  • Be careful about String instances that begin with an underscore ( _ )
var myString = "_thisisastring";

becomes somehting like

var myString = "_01";

after compression, which definitely you don't want.

To handle this situation split _ and concatanete with the rest of the String:

var myString = "_" + "thisisastring";

The example above will be compressed properly without problem.



Page Information

  • 2 years ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts