diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-08-02 22:11:05 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-08-02 22:11:05 (GMT) |
commit | 460c3b22716f89937df410a9dea705b1d9b72736 (patch) | |
tree | 1424ed42099f25fc18e6eee5e82e3007a5af15dd /www | |
parent | 2f8a3a1c77f496def3defe8e7bc9dd1a0d9bc461 (diff) |
commented calls to console.log at clock.js
Diffstat (limited to 'www')
-rw-r--r-- | www/js/clock.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/clock.js b/www/js/clock.js index ecad643..a11ad87 100644 --- a/www/js/clock.js +++ b/www/js/clock.js @@ -53,7 +53,7 @@ function Clock() { this.last_message = msg; this.clock_offset = ((msg.t2 - msg.t1) + (msg.t3 - msg.t4)) / 2; this.clock_rtt = (msg.t4 - msg.t1) - (msg.t3 - msg.t2); - console.log('got new ntp message from rhrdtime (rtt=' + this.clock_rtt + ' ms): new offset = ' + this.clock_offset + ' ms'); +# console.log('got new ntp message from rhrdtime (rtt=' + this.clock_rtt + ' ms): new offset = ' + this.clock_offset + ' ms'); } this.ntp_request = function() { @@ -61,7 +61,7 @@ function Clock() { } this.sock_onopen = function() { - console.log('clock websocket connection established'); +# console.log('clock websocket connection established'); this.state = 'CONNECTED'; this.ntp_request(); this.interval_request = setInterval(this.ntp_request.bind(this), 2000); @@ -71,7 +71,7 @@ function Clock() { if(this.state == 'STOPPED') { delete this.sock; } else { - console.log('clock websocket closed with code ' + event.code + ', trying reconnect...'); +# console.log('clock websocket closed with code ' + event.code + ', trying reconnect...'); clearInterval(this.interval_request); delete this.interval_request; this.sock.close(); @@ -134,4 +134,4 @@ function drawClock(date, time, week) { default: weekspan.addClass('label-inverse').text('Fehler'); } -}
\ No newline at end of file +} |