publiclab/plots2

View on GitHub
app/assets/javascripts/channels/user.js

Summary

Maintainability
A
0 mins
Test Coverage
App.room = App.cable.subscriptions.create('UserChannel',{
    connected: function(){

    },
    disconnected: function(){

    },
    received: function(data){

        // Called when there's incoming data on the websocket for this channel
    }
});