Skip to content

Instantly share code, notes, and snippets.

@joeyhoer
Created May 2, 2013 03:06
Show Gist options
  • Select an option

  • Save joeyhoer/5499908 to your computer and use it in GitHub Desktop.

Select an option

Save joeyhoer/5499908 to your computer and use it in GitHub Desktop.

Revisions

  1. joeyhoer created this gist May 2, 2013.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    <script>
    document.write('<script src=//cdnjs.cloudflare.com/ajax/libs/' +
    ('__proto__' in {} ?
    'zepto/1.0/zepto.min' :
    'jquery/1.9.1/jquery.min')
    + '.js><\/script>')
    </script>
    <script>window.$ || document.write('<script src=/js/vendor/' +
    ('__proto__' in {} ? 'zepto' : 'jquery')
    + '.js><\/script>')
    </script>