lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js in gollum-3.1.2 vs lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js in gollum-3.1.3

- old
+ new

@@ -40,23 +40,23 @@ define(function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextMode = require("./text").Mode; -var Tokenizer = require("../tokenizer").Tokenizer; var StylusHighlightRules = require("./stylus_highlight_rules").StylusHighlightRules; var FoldMode = require("./folding/coffee").FoldMode; var Mode = function() { - var highlighter = new StylusHighlightRules(); + this.HighlightRules = StylusHighlightRules; this.foldingRules = new FoldMode(); - - this.$tokenizer = new Tokenizer(highlighter.getRules()); }; oop.inherits(Mode, TextMode); (function() { - // Extra logic goes here. + this.lineCommentStart = "//"; + this.blockComment = {start: "/*", end: "*/"}; + + this.$id = "ace/mode/stylus"; }).call(Mode.prototype); exports.Mode = Mode; }); \ No newline at end of file