make todo comments clear

This commit is contained in:
Connor Turland 2016-12-31 06:15:55 +00:00
parent dda1a065f3
commit 40488b74f2
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ class MapChannel < ApplicationCable::Channel
# Called when the consumer has successfully
# become a subscriber of this channel.
def subscribed
# verify permission
# TODO: verify permission
stream_from "map_#{params[:id]}"
end
end

View file

@ -87,7 +87,7 @@ const Cable = {
}
},
synapseUpdated: event => {
// handle case where permission changed
// TODO: handle case where permission changed
var synapse = DataModel.Synapses.get(event.id)
if (synapse) {
// edge reset necessary because fetch causes model reset
@ -169,7 +169,7 @@ const Cable = {
}
},
topicUpdated: event => {
// handle case where permission changed
// TODO: handle case where permission changed
var topic = DataModel.Topics.get(event.id)
if (topic) {
var node = topic.get('node')