Enable WebShims to work with Turbolinks
#= require jquery | |
#= require jquery_ujs | |
#= require turbolinks | |
#= require webshims/extras/modernizr-custom | |
#= require webshims/polyfiller | |
#= require_tree . | |
$.webshims.setOptions("basePath", "/assets/webshims/shims/") | |
$.webshims.polyfill() | |
$(document).on "page:load", -> | |
$(this).updatePolyfill() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment