3 ms·
JS doesn't change variable names upon minification - minifiers do. For the dubious benefit of saving probably less than 5-10% of a transfer we've decided it's w
by andybak 12y ago
JS doesn't change variable names upon minification - minifiers do. For the dubious benefit of saving probably less than 5-10% of a transfer we've decided it's worth repeating ourselves pointlessly.
Fix the minifiers.
- ahoge 12y ago> Fix the minifiers. Most minifiers have a switch for that. E.g. UglifyJS2's is "-m"/"--mangle". YUI Compressor's is "--nomunge". By the way, this stuff looks a lot nicer with AngularDart or Angular 2.x.