From e67b091015f4ab89685b04c86a6f32f9ec51acf3 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sat, 8 Mar 2014 14:52:32 -0500 Subject: [PATCH] VRFS-600 replace console.debug with console.log (except for tests --- web/app/assets/javascripts/ftue.js | 2 +- web/app/views/clients/index.html.erb | 2 +- web/app/views/static_pages/faders.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/assets/javascripts/ftue.js b/web/app/assets/javascripts/ftue.js index 9ed6c4aaf..88a4845db 100644 --- a/web/app/assets/javascripts/ftue.js +++ b/web/app/assets/javascripts/ftue.js @@ -1066,7 +1066,7 @@ // Clear out the 'timeout' variable. context.JK.FtueWizard.latencyTimeout = false; var now = new Date(); - context.console.debug("ftueLatencyCallback: " + now); + console.log("ftueLatencyCallback: " + now); context.JK.FtueWizard.latencyMS = latencyMS; // Unregister callback: diff --git a/web/app/views/clients/index.html.erb b/web/app/views/clients/index.html.erb index 654eb2e3a..6122eec2b 100644 --- a/web/app/views/clients/index.html.erb +++ b/web/app/views/clients/index.html.erb @@ -70,7 +70,7 @@ // but in any other mode, just trust the config coming through gon JK.websocket_gateway_uri = gon.websocket_gateway_uri <% end %> - if (console) { console.debug("websocket_gateway_uri:" + JK.websocket_gateway_uri); } + if (console) { console.log("websocket_gateway_uri:" + JK.websocket_gateway_uri); } // If no trackVolumeObject (when not running in native client) diff --git a/web/app/views/static_pages/faders.html.erb b/web/app/views/static_pages/faders.html.erb index 88a41cf8c..014d93701 100644 --- a/web/app/views/static_pages/faders.html.erb +++ b/web/app/views/static_pages/faders.html.erb @@ -26,7 +26,7 @@ }; function faderChange(faderId, newValue, dragging) { - console.debug('faderChange fired. ID: ' + faderId + + console.log('faderChange fired. ID: ' + faderId + ', val: ' + newValue + ', dragging: ' + dragging); }