Skip to content

Commit b22b4d3

Browse files
committed
fix: use const for ignoreOverlay since it's never reassigned
Signed-off-by: Max Wu <[email protected]>
1 parent 3cc563e commit b22b4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/lib/editor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default class Editor {
133133
this.config = config
134134

135135
// define modes from mode mime
136-
let ignoreOverlay = {
136+
const ignoreOverlay = {
137137
token: function (stream, state) {
138138
stream.next()
139139
return null

0 commit comments

Comments
 (0)