Last active
January 12, 2019 19:44
-
-
Save skoskie/3013038 to your computer and use it in GitHub Desktop.
The unofficial new way to call jQuery 2.0. #jquery #cdn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://twitter.com/paul_irish/status/218395508018921472 --> | |
<!--[if lte IE 8]> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<script type="text/javascript"> | |
window.jQuery || document.write('<script src="js/libs/jquery-1.9.0.min.js"><\/script>') | |
</script> | |
// call old jQuery plugin 1 | |
// call old jQuery plugin 2 | |
<![endif]--> | |
<!--[if (gt IE 8)|!(IE)]> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | |
<script type="text/javascript"> | |
window.jQuery || document.write('<script src="js/libs/jquery-2.0.0.min.js"><\/script>') | |
</script> | |
// call new jQuery plugin 1 | |
// call new jQuery plugin 2 | |
<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah I was talking to dmethvin and cowboy about the same thing last night.