From e09f4d19f0c9bfc3278e9dfc80309e4c7a864fd0 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 4 Aug 2012 12:01:26 +0200 Subject: [PATCH] Enabled debugging. --- app/assets/javascripts/app/lib/websocket.js.coffee | 2 +- lib/web_socket.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/lib/websocket.js.coffee b/app/assets/javascripts/app/lib/websocket.js.coffee index 32638380d..5937b5135 100644 --- a/app/assets/javascripts/app/lib/websocket.js.coffee +++ b/app/assets/javascripts/app/lib/websocket.js.coffee @@ -82,7 +82,7 @@ class _Singleton extends Spine.Controller @ws.onmessage = (e) -> pipe = JSON.parse( e.data ) -# console.log( "ws:onmessage", pipe ) + console.log( "ws:onmessage", pipe ) # go through all blocks for item in pipe diff --git a/lib/web_socket.rb b/lib/web_socket.rb index 8c061388e..bc2ed9a33 100644 --- a/lib/web_socket.rb +++ b/lib/web_socket.rb @@ -307,7 +307,7 @@ class UserState end end self.log "---/user-" - sleep 1.2 + sleep 1 end end