fix: use const for ignoreOverlay since it's never reassigned

Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
Max Wu 2020-02-27 18:20:05 +08:00
parent 3cc563ec59
commit b22b4d3fb4
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export default class Editor {
this.config = config
// define modes from mode mime
let ignoreOverlay = {
const ignoreOverlay = {
token: function (stream, state) {
stream.next()
return null