Skip to content

@ZenCocoon /_zepto-jquery.html.erb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Zepto + jQuery on CDN + local support. Ready for Rails 3.1+ with asset pipeline
<script>
document.write('<script src=//' + ('__proto__' in {} ? 'cdnjs.cloudflare.com/ajax/libs/zepto/1.0rc1/zepto' : 'ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery') + '.min.js><\/script>')
</script>
<script>
if ('__proto__' in {})
window.Zepto || document.write('<script src="assets/libs/zepto.min.js"><\/script>')
else
window.jQuery || document.write('<script src="assets/libs/jquery.min.js"><\/script>')
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.