mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 12:34:45 -04:00
Update CodeMirror to version 5.15.3
This commit is contained in:
parent
16d5e3ea80
commit
fb70833bc5
41 changed files with 834 additions and 310 deletions
2
public/vendor/codemirror/mode/pegjs/pegjs.js
vendored
2
public/vendor/codemirror/mode/pegjs/pegjs.js
vendored
|
@ -81,7 +81,7 @@ CodeMirror.defineMode("pegjs", function (config) {
|
|||
return "comment";
|
||||
} else if (state.braced || stream.peek() === '{') {
|
||||
if (state.localState === null) {
|
||||
state.localState = jsMode.startState();
|
||||
state.localState = CodeMirror.startState(jsMode);
|
||||
}
|
||||
var token = jsMode.token(stream, state.localState);
|
||||
var text = stream.current();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue