Skip to content

Commit 44ab677

Browse files
committed
[javascript mode] Remove unused function
1 parent 28bc517 commit 44ab677

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

mode/javascript/javascript.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,6 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
427427
if (type.match(/[;\}\)\],]/)) return pass();
428428
return pass(expression);
429429
}
430-
function maybeexpressionNoComma(type) {
431-
if (type.match(/[;\}\)\],]/)) return pass();
432-
return pass(expressionNoComma);
433-
}
434430

435431
function maybeoperatorComma(type, value) {
436432
if (type == ",") return cont(expression);

0 commit comments

Comments
 (0)