This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #18 from rstacruz/patch-2

Clarify the load order
  • Loading branch information...
2 parents c187938 + a51264a commit 499d2230683c7659dbc919d7ff1ceb7208d963c0 @kossnocorp committed Jan 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -4,7 +4,7 @@ Do you like [Turbolinks](https://github.com/rails/turbolinks)? It's easy and fas
But if you have a large codebase with lots of `$(el).bind(...)` Turbolinks will surprise you. Most part of your JavaScripts will stop working in usual way. It's because the nodes on which you bind events no longer exist.
-I wrote jquery.turbolinks to solve this problem in [my project](http://amplifr.com). It's easy to use: just require it *after* `jquery.js` and `turbolinks.js`, but before other scripts.
+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/).

0 comments on commit 499d223

Please sign in to comment.