Fix ESLint issues

This commit is contained in:
Christoph Diehl 2017-06-10 06:41:53 +02:00
parent 267d30720a
commit 5226f2549b
2 changed files with 5 additions and 5 deletions

View file

@ -7,9 +7,9 @@ var websocket = null
var logger = (function () { // eslint-disable-line no-unused-vars
const sep = '\n/* ### NEXT TESTCASE ############################## */'
const color = {
red: '\033[1;31m',
green: '\033[1;32m',
clear: '\033[0m'
red: '\033[1;31m', // eslint-disable-line
green: '\033[1;32m', // eslint-disable-line
clear: '\033[0m' // eslint-disable-line
}
if (utils.platform.isWindows) {
color.red = ''
@ -49,7 +49,7 @@ var logger = (function () { // eslint-disable-line no-unused-vars
}
function JSError (msg) {
error(comment(msg))
error(comment("ERROR: " + msg))
}
function comment (msg) {

View file

@ -68,7 +68,7 @@ utils.platform = (function () {
platform.SpeechRecognition = platformName(['SpeechRecognition', 'webkitSpeechRecognition'])
platform.SpeechGrammarList = platformName(['SpeechGrammarList', 'webkitSpeechGrammarList'])
platform.SpeechGrammar = platformName(['SpeechGrammar'])
platform.SpeechGrammar = platformName(['SpeechGrammar'])
/*
function findWebGLContextName (candidates) {