Permalink
Browse files

add zepto fallback to jquery for IE

  • Loading branch information...
1 parent fd8ff39 commit 977332b57c3d12cd4458411318bb355cfc13a7b9 @alexgibson committed Apr 9, 2012
Showing with 9,416 additions and 1 deletion.
  1. +7 −1 index.html
  2. +4 −0 js/libs/jquery/jquery-min.js
  3. +9,404 −0 js/libs/jquery/jquery.js
  4. +1 −0 web.appcache
View
@@ -24,8 +24,14 @@
<link rel="stylesheet" href="css/styles.css" />
<!-- JavaScript libs -->
+<script>
+document.write('<script src=js/libs/' +
+('__proto__' in {} ? 'zepto/zepto-min' : 'jquery/jquery-min') +
+'.js><\/script>')
+</script>
+
+<script src="js/utils/json2.js"></script>
<script src="js/utils/tap.js"></script>
-<script src="js/libs/zepto/zepto-min.js"></script>
<script src="js/libs/underscore/underscore-min.js"></script>
<script src="js/libs/backbone/backbone-min.js"></script>
<script src="js/utils/backbone.localStorage-min.js"></script>
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 977332b

Please sign in to comment.