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