Quote:
Originally Posted by dellagd
:O
This is awesome, I cant wait till I can look at this code after school settles down...
EDIT: Uh, what happened to separate lines in "jquery-2.0.3.min.js"?
|
A jquery.min.js will be a minimized version of jquery. It's a pretty common thing to do with javascript to really squeeze down on filesize. If you have 1000 lines of code, there's a hidden "\n" on every line taking up a byte, so by getting rid of those, it reduces the file size by about a kB. But it doesn't just stop with \n, a minimized version will also rename your functions to typically single letter names, so each reference to them will be reduced down to a single letter. This isn't anything you worry about in a compiled language, but since js is interpreted, it can matter.