1(function(a){if(typeof exports=="object"&&typeof module=="object")a(require("../../lib/codemirror"),require("../../addon/mode/simple"),require("../../addon/mode/multiplex"));else if(typeof define=="function"&&define.amd)define(["../../lib/codemirror","../../addon/mode/simple","../../addon/mode/multiplex"],a);else a(CodeMirror)})(function(a){"use strict";a.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars_raw:[{regex:/\}\}\}/,pop:true,token:"tag"}],handlebars:[{regex:/\}\}/,pop:true,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:true,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:true,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}});a.defineMode("handlebars",function(b,c){var d=a.getMode(b,"handlebars-tags");if(!c||!c.base)return d;return a.multiplexingMode(a.getMode(b,c.base),{open:"{{",close:/\}\}\}?/,mode:d,parseDelimiters:true})});a.defineMIME("text/x-handlebars-template","handlebars")});
2//# sourceMappingURL=handlebars.min.js.map