Skip to content

Instantly share code, notes, and snippets.

@ejholmes
Last active December 20, 2015 12:59
Show Gist options
  • Select an option

  • Save ejholmes/6135198 to your computer and use it in GitHub Desktop.

Select an option

Save ejholmes/6135198 to your computer and use it in GitHub Desktop.
Turbolinks support for Pusher.js
@gregblass
Copy link
Copy Markdown

Thanks for this!

@gregblass
Copy link
Copy Markdown

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