Skip to content
Snippets Groups Projects
Commit e07f8fcf authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[javascript mode] Remove accidentally committed debug statement

parent 8a012c0a
No related branches found
No related tags found
No related merge requests found
...@@ -670,7 +670,6 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { ...@@ -670,7 +670,6 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
lexical = lexical.prev; lexical = lexical.prev;
var type = lexical.type, closing = firstChar == type; var type = lexical.type, closing = firstChar == type;
console.log(firstChar, type)
if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info + 1 : 0); if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info + 1 : 0);
else if (type == "form" && firstChar == "{") return lexical.indented; else if (type == "form" && firstChar == "{") return lexical.indented;
else if (type == "form") return lexical.indented + indentUnit; else if (type == "form") return lexical.indented + indentUnit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment