Do you like Turbolinks? It's easy and fast way to improve user experience of surfing on your website.
But if you have a large codebase with lots of
I wrote jquery.turbolinks to solve this problem in my project. It's easy to use: just require it after
tubrolinks.js, but before other scripts.
Sponsored by Evil Martians.
//= require jquery.turbolinks
And it just works!
If you want to change it use
By default right after trigger
$.isReady is set to false. And after
page:load is set to true.
If you want to change default behaviour you can use
This project uses Semantic Versioning for release numbering.
1.0.0-rc1 (November 28, 2012)
- Set $.isReady to false after
- remove all delegated events after trigger fetch event #8;
1.0.0-rc (November 8, 2012)
- Add turbolinks as dependency (kudos to @gbchaosmaster);
- run callback after adding to waiting list if
0.2.1 (October 15, 2012)
- Pass jQuery object to each callback #4
0.2.0 (October 10, 2012)
- Change event:
page:load(kudos to @davydotcom);
- added ability to change ready event via
0.1.0 (October 3, 2012)
- First, initial release
Idea and code by @kossnocorp.