import Ember from 'ember';

export default Ember.Component.extend({
  tagName: 'ul',
  channel: Ember.inject.service(),
});

@@ -112,13 +112,244 @@
 rvice(),
+%0A%0A  didInsertElement: function()%7B%0A    var socket = this.get('channel').socket();%0A    socket.connect();%0A    var chan = socket.chan(%22todos:list%22, %7B%7D);%0A    chan.join().receive(%22ok%22, chan =%3E %7B%0A      console.log(%22Success!%22);%0A    %7D);%0A  %7D
 %0A%7D);%0A

Connect to our channel:topic as really basic test.