Enable WebShims to work with Turbolinks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#= 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