Skip to content

Commit 562f077

Browse files
committed
Don't use let in mode script
1 parent 6977470 commit 562f077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/erlang/erlang.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ CodeMirror.defineMode("erlang", function(cmCfg) {
339339
}
340340

341341
function lookahead(stream) {
342-
let m = stream.match(/^\s*([^\s%])/, false)
342+
var m = stream.match(/^\s*([^\s%])/, false)
343343
return m ? m[1] : "";
344344
}
345345

0 commit comments

Comments
 (0)