Skip to content

Instantly share code, notes, and snippets.

@tvandervossen
Created April 1, 2012 16:14
Show Gist options
  • Save tvandervossen/2276702 to your computer and use it in GitHub Desktop.
Save tvandervossen/2276702 to your computer and use it in GitHub Desktop.
Load jQuery on IE instead of Zepto
<script>document.write('<script src="(navigator.userAgent.indexOf('MSIE ') > -1 ? 'jquery' : 'zepto') + '.js"><\/script>');</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment