diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Packer version 3.0 Released

Dean Edwards has released Packer version 3.0, that allows and is one of the top utilities to squeeze your JavaScript.

  • respects Microsoft conditional comments
  • new option to shrink variable and argument identifiers
  • removed the special chars feature (except the ;;; feature which people seem to like)
  • some bug fixes:
    • packer no longer closes spaces between the +/- operators so code like this is safe: c = a++ +b;
    • the throw"error"} bug that affected Safari (this is a Safari bug really but packer gets around it)
    • the __proto__ bug for Mozilla browsers (this only affected the online version of packer)
    • a minor parsing bug affecting the detection of regular expressions
  • simplified the user interface

Dean also had some fun sniffing browsers and came up with the short test.

Check out Packer version 3.

Source:→ Dean Edwards

Packer, Javascript

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!