4 ms·
That's one of the ways, but you can just stick to 1.9 for all of your audience if audience includes early IEs. jQuery 2.0 is more appropriate for mobile web-ap
by indeyets 14y ago
That's one of the ways, but you can just stick to 1.9 for all of your audience if audience includes early IEs.
jQuery 2.0 is more appropriate for mobile web-apps or for intranets, where you know that users use strict subset of browsers
- nsmartt 14y agoGiven that jQuery 2.0 is supposed to be significantly faster, parent's approach offers increased speed to users who are not on sub-IE9 browsers.
- skeletonjelly 14y agoFaster how? Do you have any source? Only thing I remember from my brief scan of the release notes was that it was faster to load as it was smaller (fewer browsers to support) but I don't recall anything about processing speed, happy to be proven wrong of course.
- nsmartt 14y ago>jQuery 2.0 will not run on oldIE. As a result of removing several layers of barnacle-encrusted code, it will be both faster and smaller than jQuery 1.9. My take here is that various bits of logic have been removed which will also improve processing speed. Of course, they may have been referring to the load speed, and the increase in processing speed may be negligible.