summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/haml
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/haml')
-rw-r--r--public/vendor/codemirror/mode/haml/haml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/vendor/codemirror/mode/haml/haml.js b/public/vendor/codemirror/mode/haml/haml.js
index 86def73e..20ae1e19 100644
--- a/public/vendor/codemirror/mode/haml/haml.js
+++ b/public/vendor/codemirror/mode/haml/haml.js
@@ -98,8 +98,8 @@
return {
// default to html mode
startState: function() {
- var htmlState = htmlMode.startState();
- var rubyState = rubyMode.startState();
+ var htmlState = CodeMirror.startState(htmlMode);
+ var rubyState = CodeMirror.startState(rubyMode);
return {
htmlState: htmlState,
rubyState: rubyState,