diff --git a/lib/ace/mode/mips.js b/lib/ace/mode/mips.js index f00dbe1243d..62118cae17b 100644 --- a/lib/ace/mode/mips.js +++ b/lib/ace/mode/mips.js @@ -49,7 +49,7 @@ oop.inherits(Mode, TextMode); (function() { this.lineCommentStart = ["#"]; - this.$id = "ace/mode/mips" + this.$id = "ace/mode/mips"; }).call(Mode.prototype); exports.Mode = Mode; diff --git a/lib/ace/mode/mips_highlight_rules.js b/lib/ace/mode/mips_highlight_rules.js index dd1e64b99e4..b76d0a40db5 100644 --- a/lib/ace/mode/mips_highlight_rules.js +++ b/lib/ace/mode/mips_highlight_rules.js @@ -115,7 +115,7 @@ var MIPSHighlightRules = function() { regex: /#.*$/, comment: "Single line comments" }] - } + }; this.normalizeRules(); }; @@ -124,7 +124,7 @@ MIPSHighlightRules.metaData = { fileTypes: ["s", "asm"], name: "MIPS", scopeName: "source.mips" -} +}; oop.inherits(MIPSHighlightRules, TextHighlightRules);