@@ -6,7 +6,7 @@ But if you have a large codebase with lots of `$(el).bind(...)` Turbolinks will
I wrote jquery.turbolinks to solve this problem in [my project](http://amplifr.com). It's easy to use: just require it *immediately after*`jquery.js`. Your other scripts should be loaded after `jquery.turbolinks.js`, and `turbolinks.js` should be after your other scripts.
-Sponsored by [Evil Martians](http://evilmartians.com/).
+Initially sponsored by [Evil Martians](http://evilmartians.com/).
This project is a member of the [OSS Manifesto](http://ossmanifesto.org/).
@@ -46,6 +46,26 @@ If you want to change default behaviour you can use `$.setFetchEvent`:
+###Events firing twice or more
+If you find that some events are being fired multiple times after using jQuery Turbolinks, you may have been binding your `document` events inside a `$(function())` block. For instance, this example below can be a common occurrence and should be avoided:
+/* BAD: don't bind 'document' events while inside $()! */