lib/assets/javascript/init.js.coffee in initjs-0.1.1 vs lib/assets/javascript/init.js.coffee in initjs-0.1.2

- old
+ new

@@ -31,8 +31,8 @@ jQuery -> window.Initjs.execFilter('initPage') # If you are using the Turbolinks and you need run a code only one time. window.Initjs.initialize() unless window.Turbolinks is undefined - document.addEventListener "page:change", -> + $(document).bind "page:change", -> window.Initjs.initialize()