1(function(a){if(typeof exports=="object"&&typeof module=="object")a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../../addon/mode/multiplex"));else if(typeof define=="function"&&define.amd)define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/multiplex"],a);else a(CodeMirror)})(function(a){"use strict";a.defineMode("htmlembedded",function(b,c){var d=c.closeComment||"--%>";return a.multiplexingMode(a.getMode(b,"htmlmixed"),{open:c.openComment||"<%--",close:d,delimStyle:"comment",mode:{token:function(a){a.skipTo(d)||a.skipToEnd();return"comment"}}},{open:c.open||c.scriptStartRegex||"<%",close:c.close||c.scriptEndRegex||"%>",mode:a.getMode(b,c.scriptingModeSpec)})},"htmlmixed");a.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"});a.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"});a.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"});a.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})});
2//# sourceMappingURL=htmlembedded.min.js.map