Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor

This commit is contained in:
Wu Cheng-Han 2016-01-17 14:28:04 -06:00
parent ce65e58096
commit eaa8ccaccb
381 changed files with 6726 additions and 2636 deletions

6
public/vendor/codemirror/mode/haml/haml.js vendored Executable file → Normal file
View file

@ -85,8 +85,10 @@
state.tokenize = rubyInQuote(")");
return state.tokenize(stream, state);
} else if (ch == "{") {
state.tokenize = rubyInQuote("}");
return state.tokenize(stream, state);
if (!stream.match(/^\{%.*/)) {
state.tokenize = rubyInQuote("}");
return state.tokenize(stream, state);
}
}
}

0
public/vendor/codemirror/mode/haml/index.html vendored Executable file → Normal file
View file

0
public/vendor/codemirror/mode/haml/test.js vendored Executable file → Normal file
View file