Use eslint-disable-line no-undef for print()
This commit is contained in:
parent
aa2da6395c
commit
39d0f506a5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ var logger = (function () { // eslint-disable-line no-unused-vars
|
|||
websocket.send(msg)
|
||||
}
|
||||
if (typeof window === 'undefined') {
|
||||
print(msg)
|
||||
print(msg) // eslint-disable-line no-undef
|
||||
} else if (window.dump) {
|
||||
window.dump(msg)
|
||||
} else if (window.console && window.console.log) {
|
||||
|
|
Loading…
Reference in a new issue