Skip to content

Instantly share code, notes, and snippets.

@ejholmes
Last active December 20, 2015 12:59
Show Gist options
  • Save ejholmes/6135198 to your computer and use it in GitHub Desktop.
Save ejholmes/6135198 to your computer and use it in GitHub Desktop.
Turbolinks support for Pusher.js
@gregblass
Copy link

I'm actually having trouble getting this to work properly. My connections keep stacking with just one user on the site.

The order of my js is:

pusher.min
pusher.turbolinks (gist above)
turbolinks

Still stacking connections though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment