From d8cec02fd8ac92a97f3d56c9f2d6f9edd78b77f8 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 24 Sep 2014 21:38:03 +0200 Subject: [PATCH] Fixed typos. --- app/assets/javascripts/app/lib/app_post/websocket.js.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/websocket.js.coffee b/app/assets/javascripts/app/lib/app_post/websocket.js.coffee index f2c9a1c03..3bb5cdc43 100644 --- a/app/assets/javascripts/app/lib/app_post/websocket.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/websocket.js.coffee @@ -151,20 +151,20 @@ class _webSocketSingleton extends App.Controller ping: => return if @backend is 'ajax' - @log 'debug', 'send websockend ping' + @log 'debug', 'send websocket ping' @send( { action: 'ping' } ) # check if ping is back within 2 min App.Delay.clear 'websocket-ping-check', 'ws' check = => - @log 'notice', 'no websockend ping response, reconnect...' + @log 'notice', 'no websocket ping response, reconnect...' @close() App.Delay.set check, 90000, 'websocket-ping-check', 'ws' pong: -> return if @backend is 'ajax' - @log 'debug', 'received websockend ping' + @log 'debug', 'received websocket ping' # test again after 1 min App.Delay.set @ping, 60000, 'websocket-pong', 'ws'