Show More
@@ -10,13 +10,9 b' var rhodeCodeApp = Polymer({' | |||||
10 | for (var i = 0; i < alertMessagePayloads.length; i++) { |
|
10 | for (var i = 0; i < alertMessagePayloads.length; i++) { | |
11 | $.Topic('/notifications').publish(alertMessagePayloads[i]); |
|
11 | $.Topic('/notifications').publish(alertMessagePayloads[i]); | |
12 | } |
|
12 | } | |
13 |
|
||||
14 | $.Topic('/plugins/__REGISTER__').subscribe( |
|
|||
15 | this.kickoffChannelstreamPlugin.bind(this) |
|
|||
16 | ); |
|
|||
17 |
|
||||
18 | $.Topic('/connection_controller/subscribe').subscribe( |
|
13 | $.Topic('/connection_controller/subscribe').subscribe( | |
19 | this.subscribeToChannelTopic.bind(this)); |
|
14 | this.subscribeToChannelTopic.bind(this)); | |
|
15 | this.kickoffChannelstreamPlugin(); | |||
20 | }, |
|
16 | }, | |
21 |
|
17 | |||
22 | /** proxy to channelstream connection */ |
|
18 | /** proxy to channelstream connection */ |
@@ -146,11 +146,6 b" c.template_context['visual']['default_re" | |||||
146 |
|
146 | |||
147 | <%def name="head_extra()"></%def> |
|
147 | <%def name="head_extra()"></%def> | |
148 | ${self.head_extra()} |
|
148 | ${self.head_extra()} | |
149 | <script> |
|
|||
150 | window.addEventListener("load", function(event) { |
|
|||
151 | $.Topic('/plugins/__REGISTER__').prepareOrPublish({}); |
|
|||
152 | }); |
|
|||
153 | </script> |
|
|||
154 | ## extra stuff |
|
149 | ## extra stuff | |
155 | %if c.pre_code: |
|
150 | %if c.pre_code: | |
156 | ${c.pre_code|n} |
|
151 | ${c.pre_code|n} |
General Comments 0
You need to be logged in to leave comments.
Login now