2 ms·
Google, but they compress everything, so good luck understanding their code. I'd actually check out the source to some of the major JS libraries: JQuery, Proto
by nostrademons 18y ago
Google, but they compress everything, so good luck understanding their code.
I'd actually check out the source to some of the major JS libraries: JQuery, Prototype, OpenLayers, etc. Most sites build off them, but the sites that know what they're doing will be packing/minifying their JavaScript, making it a bit hard to read.
- tmilewski 18y agoThey also obfuscate it. Understandably so.
- nostrademons 18y agoIt's actually not obfuscated by design - the main goal is to reduce latency and bandwidth usage. It just so happens that this means single character variable names and no whitespace, which is also fairly hard to read.