Javascript one letter function names in jQuery

javascriptjquery

I noticed that the production version of jquery has one-letter function and variable name and was wondering how they achieve that. are there tools to create a production level javascript file from the one use during development? I am having a hard time figuring out how they make sure there are no mistakes, especially for an open source project that big.

Best Answer

JavaScript minfiers do this for them. Two good ones that shrink private variables names are YUI Compressor and /packer/.