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

Commit

Permalink
Foundation note.
Browse files Browse the repository at this point in the history
Added a note for those who use this with Zurb Foundation.
  • Loading branch information
Jeremy Becker committed Feb 10, 2014
1 parent 074c17f commit 53e8482
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Expand Up @@ -29,8 +29,8 @@ Add it to your JavaScript manifest file, in this order:

``` js
//= require jquery
//= require jquery_ujs
//= require jquery.turbolinks
//= require jquery_ujs
//
// ... your other scripts here ...
//
Expand All @@ -39,6 +39,22 @@ Add it to your JavaScript manifest file, in this order:

And it just works!

NOTE: Those who use 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
```


## API and Customization

### $.turbo.use
Expand Down

0 comments on commit 53e8482

Please sign in to comment.