mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 22:24:28 +00:00
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
|
||||
|
||||
// define modes from mode mime
|
||||
let ignoreOverlay = {
|
||||
const ignoreOverlay = {
|
||||
token: function (stream, state) {
|
||||
stream.next()
|
||||
return null
|
||||
|
Loading…
x
Reference in New Issue
Block a user