[console.js] Use const instead of let

This commit is contained in:
Christoph Diehl 2017-05-02 17:17:36 +03:00
parent de4dc71820
commit b7fc059dbe

View file

@ -5,6 +5,8 @@
var websocket = null var websocket = null
var logger = (function () { // eslint-disable-line no-unused-vars var logger = (function () { // eslint-disable-line no-unused-vars
const sep = '\n/* ### NEXT TESTCASE ############################## */'
let color = { let color = {
red: '\u0033[1;31m', red: '\u0033[1;31m',
green: '\u0033[1;32m', green: '\u0033[1;32m',
@ -18,8 +20,6 @@ var logger = (function () { // eslint-disable-line no-unused-vars
} }
} }
let sep = '\n/* ### NEXT TESTCASE ############################## */'
function console (msg) { function console (msg) {
if (websocket) { if (websocket) {
websocket.send(msg) websocket.send(msg)