Clarify publish function definition

This commit is contained in:
Petros Angelatos 2014-06-12 17:40:42 +01:00 committed by Pablo Carranza Vélez
parent 7e5fe4802f
commit 04ca3b3042

View File

@ -30,6 +30,7 @@ publish = do ->
uuid = uuid.value
channel = "device-#{uuid}-logs"
# Redefine original function
publish = (message) ->
pubnub.publish({channel, message})