You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you know jQuery v2x loses browser support for oldIE and is now about 10% smaller in filesize. We can reduce page weight to users with more modern browsers by providing a conditional comment that separates the two versions so that oldIE gets v1x and modern browsers get v2x.
Isn't there chance for errors if the two versions differ too much?
I mean, you would almost need to make the same thing for main.js (if that is where you're writing your scripts).
I haven't really read about how much the version will differ except for the old IE-support, so please correct me if I'm wrong!
Thanks @FagnerMartinsBrack, I hadn't seen that. On reflection, I think @necolas is right to ignore this but I still think that it can be useful to some developers.
As you know jQuery v2x loses browser support for oldIE and is now about 10% smaller in filesize. We can reduce page weight to users with more modern browsers by providing a conditional comment that separates the two versions so that oldIE gets v1x and modern browsers get v2x.
Also see this gist as an example or my blog post about it
The text was updated successfully, but these errors were encountered: