erichmenge / handlers-js

Easy, modular UJS for your Rails apps
MIT License
29 stars 3 forks source link

Turbolinks 5 #2

Open notentered opened 8 years ago

notentered commented 8 years ago

Hello,

handlers-js is not initializing handlers on turbolinks:load.

There is a fix (provided by @gudata), but I'm not sure if this gem is still maintained. May I create a pull request for this issue?

It only adds something liкe:

$(document).on 'turbolinks:load', ->
  $(document).trigger 'handlers:pageUpdated', 'body'
erichmenge commented 8 years ago

I don't use it in any projects presently. If people are using it, I'm happy to accept contributions!

notentered commented 7 years ago

Hello,

I created a pull request about this :)