Skip to content

Commit

Permalink
Document adapter dependency on global window.Turbolinks
Browse files Browse the repository at this point in the history
  • Loading branch information
javan committed May 17, 2016
1 parent 3ad2068 commit b938b3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Your application can use the [`turbolinks` npm package](https://www.npmjs.com/pa

1. Add the `turbolinks` package to your application: `npm install --save turbolinks`.
2. Require Turbolinks in your JavaScript bundle: `var Turbolinks = require("turbolinks")`.
3. If you’re using the [turbolinks-ios](https://github.com/turbolinks/turbolinks-ios) or [turbolinks-android](https://github.com/turbolinks/turbolinks-android) adapter, define `Turbolinks` on `window` so it’s available to them globally: `window.Turbolinks = Turbolinks`.

# Navigating with Turbolinks

Expand Down

0 comments on commit b938b3b

Please sign in to comment.