4 ms·
There'd be a lot of code duplication if every snippet of JS needed to include, for example, all the browser-specific hacks that jQuery does, and all the DOM tra
by udp 16y ago
There'd be a lot of code duplication if every snippet of JS needed to include, for example, all the browser-specific hacks that jQuery does, and all the DOM traversal, etc.
It's much cleaner if all the solutions use the same common framework, and that's (nearly) the case with jQuery.