Use Modernizr from asset pipeline instead of bundling it
betelgeuse opened this issue · 1 comments
betelgeuse commented
Now loading grittier replaces the global Modernizr object. Since this gem provides grittier for asset pipeline we should rather add a dependency on modernizr-rails and load the feature detection that way.
RobinBrouwer commented
Fixed it in v1.2.0. I changed the Modernizr variable to GritterModernizr, so it doesn't change the Modernizr if you're using it inside your application.