Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Turbolinks support for Pusher.js
@gregblass

This comment has been minimized.

Copy link

commented Jun 9, 2015

Thanks for this!

@gregblass

This comment has been minimized.

Copy link

commented Oct 13, 2015

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
You can’t perform that action at this time.