mirror of https://github.com/status-im/codimd.git
fix: use const for ignoreOverlay since it's never reassigned
Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
parent
3cc563ec59
commit
b22b4d3fb4
|
@ -133,7 +133,7 @@ export default class Editor {
|
||||||
this.config = config
|
this.config = config
|
||||||
|
|
||||||
// define modes from mode mime
|
// define modes from mode mime
|
||||||
let ignoreOverlay = {
|
const ignoreOverlay = {
|
||||||
token: function (stream, state) {
|
token: function (stream, state) {
|
||||||
stream.next()
|
stream.next()
|
||||||
return null
|
return null
|
||||||
|
|
Loading…
Reference in New Issue