Show More
@@ -32,6 +32,7 b' var rhodeCodeApp = Polymer({' | |||||
32 | for (var i = 0; i < addChannels.length; i++) { |
|
32 | for (var i = 0; i < addChannels.length; i++) { | |
33 | channels.push(addChannels[i]); |
|
33 | channels.push(addChannels[i]); | |
34 | } |
|
34 | } | |
|
35 | if (window.CHANNELSTREAM_SETTINGS && CHANNELSTREAM_SETTINGS.enabled){ | |||
35 | var channelstreamConnection = this.$['channelstream-connection']; |
|
36 | var channelstreamConnection = this.$['channelstream-connection']; | |
36 | channelstreamConnection.connectUrl = CHANNELSTREAM_URLS.connect; |
|
37 | channelstreamConnection.connectUrl = CHANNELSTREAM_URLS.connect; | |
37 | channelstreamConnection.subscribeUrl = CHANNELSTREAM_URLS.subscribe; |
|
38 | channelstreamConnection.subscribeUrl = CHANNELSTREAM_URLS.subscribe; | |
@@ -44,6 +45,7 b' var rhodeCodeApp = Polymer({' | |||||
44 | // append any additional channels registered in other plugins |
|
45 | // append any additional channels registered in other plugins | |
45 | $.Topic('/connection_controller/subscribe').processPrepared(); |
|
46 | $.Topic('/connection_controller/subscribe').processPrepared(); | |
46 | channelstreamConnection.connect(); |
|
47 | channelstreamConnection.connect(); | |
|
48 | } | |||
47 | }, |
|
49 | }, | |
48 |
|
50 | |||
49 | checkViewChannels: function () { |
|
51 | checkViewChannels: function () { |
General Comments 0
You need to be logged in to leave comments.
Login now