function naming
This commit is contained in:
parent
840484178b
commit
1453a3c181
1 changed files with 4 additions and 4 deletions
|
@ -2541,7 +2541,7 @@ Metamaps.Realtime = {
|
||||||
|
|
||||||
if (!self.status) return;
|
if (!self.status) return;
|
||||||
|
|
||||||
function test() {
|
function waitThenRenderTopic() {
|
||||||
if (topic && mapping && mapper) {
|
if (topic && mapping && mapper) {
|
||||||
Metamaps.Topic.renderTopic(mapping, topic, false, false);
|
Metamaps.Topic.renderTopic(mapping, topic, false, false);
|
||||||
}
|
}
|
||||||
|
@ -2579,7 +2579,7 @@ Metamaps.Realtime = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
test();
|
waitThenRenderTopic();
|
||||||
},
|
},
|
||||||
// removeTopic
|
// removeTopic
|
||||||
sendDeleteTopic: function (data) {
|
sendDeleteTopic: function (data) {
|
||||||
|
@ -2634,7 +2634,7 @@ Metamaps.Realtime = {
|
||||||
|
|
||||||
if (!self.status) return;
|
if (!self.status) return;
|
||||||
|
|
||||||
function test() {
|
function waitThenRenderSynapse() {
|
||||||
if (synapse && mapping && mapper) {
|
if (synapse && mapping && mapper) {
|
||||||
topic1 = synapse.getTopic1();
|
topic1 = synapse.getTopic1();
|
||||||
node1 = topic1.get('node');
|
node1 = topic1.get('node');
|
||||||
|
@ -2676,7 +2676,7 @@ Metamaps.Realtime = {
|
||||||
cancel = true;
|
cancel = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
test();
|
waitThenRenderSynapse();
|
||||||
},
|
},
|
||||||
// deleteSynapse
|
// deleteSynapse
|
||||||
sendDeleteSynapse: function (data) {
|
sendDeleteSynapse: function (data) {
|
||||||
|
|
Loading…
Reference in a new issue