Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Readme: remove note about Zurb foundation
  • Loading branch information
rstacruz committed Apr 24, 2014
1 parent 76c7a4a commit 73b9cb5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions README.md
Expand Up @@ -59,24 +59,6 @@ either `true` or `false` depending on whether the page is loading.

## Troubleshooting

### Zurb Foundation

The `$(function(){ $(document).foundation(); });` has to come before the
turbolinks gem.

``` js
//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//
// ... your other scripts here ...

$(function(){ $(document).foundation(); });

//
//= require turbolinks
```

### 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:
Expand Down

0 comments on commit 73b9cb5

Please sign in to comment.