Skip to content

@jbeasley6651 /gist:1214539
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
<% content_for :javascript do -%>
<script type="text/javascript">
console.log('loaded')
$(function() {
var pusher = new Pusher('12668b306e1510d5f86d'); // Replace with your app key
var taskChannel = pusher.subscribe('deal-channel-<%= @deal.id %>');
taskChannel.bind('deal-events', function(data) {
eval(data)
console.log(task)
});
});
</script>
<% 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.