lib/templates/app/assets/javascripts/application.js in aetherg-0.5.0.beta2 vs lib/templates/app/assets/javascripts/application.js in aetherg-0.5.0.beta3

- old
+ new

@@ -1,6 +1,16 @@ // This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory can be referenced here using a relative path. // +//= require jquery +//= require turbolinks //= require_tree . +//= require_self + +$(document).on('turbolinks:load', function () { + // turbolink dom ready instead of JQuery; + // #coffeescript + // $(document).on 'turbolinks:load', () -> + // // body here +});