lib/volt/page/channel.rb in volt-0.4.9 vs lib/volt/page/channel.rb in volt-0.4.10

- old
+ new

@@ -80,13 +80,11 @@ tag_method(:send_message) do destructive! end def send_message(message) - puts "Send #{message.inspect}" if @state != :open @queue << message - puts "Queue" else # TODO: Temp: wrap message in an array, so we're sure its valid JSON message = JSON.dump([message]) %x{ this.socket.send(message); \ No newline at end of file