diff --git a/src/mode/java.js b/src/mode/java.js index 0ef16d4924..fcd44ab81b 100644 --- a/src/mode/java.js +++ b/src/mode/java.js @@ -9,6 +9,7 @@ var Mode = function() { JavaScriptMode.call(this); this.HighlightRules = JavaHighlightRules; this.foldingRules = new JavaFoldMode(); + this.$behaviour = this.$defaultBehaviour; }; oop.inherits(Mode, JavaScriptMode); diff --git a/src/mode/scala.js b/src/mode/scala.js index 55a2b3842f..be96ceecdc 100644 --- a/src/mode/scala.js +++ b/src/mode/scala.js @@ -7,6 +7,7 @@ var ScalaHighlightRules = require("./scala_highlight_rules").ScalaHighlightRules var Mode = function() { JavaScriptMode.call(this); this.HighlightRules = ScalaHighlightRules; + this.$behaviour = this.$defaultBehaviour; }; oop.inherits(Mode, JavaScriptMode); diff --git a/src/mode/wollok.js b/src/mode/wollok.js index 905e30980a..4bce1ee3e2 100644 --- a/src/mode/wollok.js +++ b/src/mode/wollok.js @@ -7,6 +7,7 @@ var WollokHighlightRules = require("./wollok_highlight_rules").WollokHighlightRu var Mode = function() { JavaScriptMode.call(this); this.HighlightRules = WollokHighlightRules; + this.$behaviour = this.$defaultBehaviour; }; oop.inherits(Mode, JavaScriptMode);