Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
This commit is contained in:
6
public/vendor/codemirror/mode/haml/haml.js
vendored
Executable file → Normal file
6
public/vendor/codemirror/mode/haml/haml.js
vendored
Executable file → Normal 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
0
public/vendor/codemirror/mode/haml/index.html
vendored
Executable file → Normal file
0
public/vendor/codemirror/mode/haml/test.js
vendored
Executable file → Normal file
0
public/vendor/codemirror/mode/haml/test.js
vendored
Executable file → Normal file
Reference in New Issue
Block a user