Skip to content

Commit

Permalink
[lint addon] And an arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Jun 14, 2021
1 parent e230099 commit b69f9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/lint/lint.js
Expand Up @@ -84,7 +84,7 @@
}

function clearErrorLines(cm) {
cm.eachLine(line => {
cm.eachLine(function(line) {
var has = line.wrapClass && /\bCodeMirror-lint-line-\w+\b/.exec(line.wrapClass);
if (has) cm.removeLineClass(line, "wrap", has[0]);
})
Expand Down

0 comments on commit b69f9d9

Please sign in to comment.