Skip to content
Create a gist now

Instantly share code, notes, and snippets.

<% content_for :javascript do -%>
<script type="text/javascript">
$(function() {
var pusher = new Pusher('12668b306e1510d5f86d'); // Replace with your app key
var taskChannel = pusher.subscribe('deal-channel-<%= %>');
taskChannel.bind('deal-events', function(data) {
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.