don't use console without checks
This commit is contained in:
parent
494a21d9e2
commit
6a9ef52fe8
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|||
}
|
||||
else {
|
||||
if (!(isBack && voidElements[tagName]))
|
||||
console.error("unmatched tags!", tagName, stack);
|
||||
typeof console !== undefined && console.error("unmatched tags!", tagName, stack);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue