mkhairi / materialize-sass

Materializecss rubygem for Rails Asset Pipeline / Sprockets
http://materialize.labs.my/
MIT License
805 stars 243 forks source link

Also listen to ready event #127

Closed gabriel-cardoso closed 7 years ago

gabriel-cardoso commented 7 years ago

I needed this to be able to make your gem compatible when not using Turbolinks

mkhairi commented 7 years ago

@gabriel-cardoso, this will triggered twice for turbolinks user.
if u not use turbolinks your should require //= require materialize instead of //= materialize-sprockets