添加markdown解析器 for blog 博客与note的markdown解析器不一致 #133
This commit is contained in:
1
public/libs/ace/ck/ext-beautify-min.js
vendored
1
public/libs/ace/ck/ext-beautify-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/beautify/php_rules",["require","exports","module","ace/token_iterator"],function(e,t,a){"use strict";var p=e("ace/token_iterator").TokenIterator;t.newLines=[{type:"support.php_tag",value:"<?php"},{type:"support.php_tag",value:"<?"},{type:"support.php_tag",value:"?>"},{type:"paren.lparen",value:"{",indent:!0},{type:"paren.rparen",breakBefore:!0,value:"}",indent:!1},{type:"paren.rparen",breakBefore:!0,value:"})",indent:!1,dontBreak:!0},{type:"comment"},{type:"text",value:";"},{type:"text",value:":",context:"php"},{type:"keyword",value:"case",indent:!0,dontBreak:!0},{type:"keyword",value:"default",indent:!0,dontBreak:!0},{type:"keyword",value:"break",indent:!1,dontBreak:!0},{type:"punctuation.doctype.end",value:">"},{type:"meta.tag.punctuation.end",value:">"},{type:"meta.tag.punctuation.begin",value:"<",blockTag:!0,indent:!0,dontBreak:!0},{type:"meta.tag.punctuation.begin",value:"</",indent:!1,breakBefore:!0,dontBreak:!0},{type:"punctuation.operator",value:";"}],t.spaces=[{type:"xml-pe",prepend:!0},{type:"entity.other.attribute-name",prepend:!0},{type:"storage.type",value:"var",append:!0},{type:"storage.type",value:"function",append:!0},{type:"keyword.operator",value:"="},{type:"keyword",value:"as",prepend:!0,append:!0},{type:"keyword",value:"function",append:!0},{type:"support.function",next:/[^\(]/,append:!0},{type:"keyword",value:"or",append:!0,prepend:!0},{type:"keyword",value:"and",append:!0,prepend:!0},{type:"keyword",value:"case",append:!0},{type:"keyword.operator",value:"||",append:!0,prepend:!0},{type:"keyword.operator",value:"&&",append:!0,prepend:!0}],t.singleTags=["!doctype","area","base","br","hr","input","img","link","meta"],t.transform=function(e,a,p){for(var n=e.getCurrentToken(),r=t.newLines,o=t.spaces,u=t.singleTags,l="",i=0,y=!1,d,s,v={},c,f={},k=!1,m="";null!==n;)if(console.log(n),n)if("support.php_tag"==n.type&&"?>"!=n.value?p="php":"support.php_tag"==n.type&&"?>"==n.value?p="html":"meta.tag.name.style"==n.type&&"css"!=p?p="css":"meta.tag.name.style"==n.type&&"css"==p?p="html":"meta.tag.name.script"==n.type&&"js"!=p?p="js":"meta.tag.name.script"==n.type&&"js"==p&&(p="html"),f=e.stepForward(),f&&0==f.type.indexOf("meta.tag.name")&&(c=f.value),"support.php_tag"==v.type&&"<?="==v.value&&(y=!0),"meta.tag.name"==n.type&&(n.value=n.value.toLowerCase()),"text"==n.type&&(n.value=n.value.trim()),n.value){m=n.value;for(var g in o)n.type==o[g].type&&(!o[g].value||n.value==o[g].value)&&f&&(!o[g].next||o[g].next.test(f.value))&&(o[g].prepend&&(m=" "+n.value),o[g].append&&(m+=" "));0==n.type.indexOf("meta.tag.name")&&(d=n.value),k=!1;for(g in r)if(!(n.type!=r[g].type||r[g].value&&n.value!=r[g].value||r[g].blockTag&&-1!==u.indexOf(c)||r[g].context&&r[g].context!==p)){if(r[g].indent===!1&&i--,r[g].breakBefore&&(!r[g].prev||r[g].prev.test(v.value)))for(l+="\n",k=!0,g=0;i>g;g++)l+=" ";break}if(y===!1)for(g in r)if(!(v.type!=r[g].type||r[g].value&&v.value!=r[g].value||r[g].blockTag&&-1!==u.indexOf(d)||r[g].context&&r[g].context!==p)){if(r[g].indent===!0&&i++,!r[g].dontBreak&&!k)for(l+="\n",g=0;i>g;g++)l+=" ";break}if(l+=m,"support.php_tag"==v.type&&"?>"==v.value&&(y=!1),s=d,v=n,n=f,null===n)break}else n=f;else n=e.stepForward();return l}}),ace.define("ace/ext/beautify",["require","exports","module","ace/token_iterator","ace/ext/beautify/php_rules"],function(e,t,a){"use strict";var p=e("ace/token_iterator").TokenIterator,n=e("./beautify/php_rules").transform;t.beautify=function(e){var t=new p(e,0,0),a=t.getCurrentToken(),r=e.$modeId.split("/").pop(),o=n(t,r);e.doc.setValue(o)},t.commands=[{name:"beautify",exec:function(e){t.beautify(e.session)},bindKey:"Ctrl-Shift-B"}]}),function(){ace.require(["ace/ext/beautify"],function(){})}();
|
1
public/libs/ace/ck/ext-chromevox-min.js
vendored
1
public/libs/ace/ck/ext-chromevox-min.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/elastic_tabstops_lite",["require","exports","module","ace/editor","ace/config"],function(t,e,s){"use strict";var i=function(t){this.$editor=t;var e=this,s=[],i=!1;this.onAfterExec=function(){i=!1,e.processRows(s),s=[]},this.onExec=function(){i=!0},this.onChange=function(t){var e=t.data.range;i&&(-1==s.indexOf(e.start.row)&&s.push(e.start.row),e.end.row!=e.start.row&&s.push(e.end.row))}};(function(){this.processRows=function(t){this.$inChange=!0;for(var e=[],s=0,i=t.length;i>s;s++){var o=t[s];if(!(e.indexOf(o)>-1))for(var n=this.$findCellWidthsForBlock(o),r=this.$setBlockCellWidthsToMax(n.cellWidths),h=n.firstRow,a=0,c=r.length;c>a;a++){var l=r[a];e.push(h),this.$adjustRow(h,l),h++}}this.$inChange=!1},this.$findCellWidthsForBlock=function(t){for(var e=[],s,i=t;i>=0&&(s=this.$cellWidthsForRow(i),0!=s.length);)e.unshift(s),i--;var o=i+1;i=t;for(var n=this.$editor.session.getLength();n-1>i&&(i++,s=this.$cellWidthsForRow(i),0!=s.length);)e.push(s);return{cellWidths:e,firstRow:o}},this.$cellWidthsForRow=function(t){for(var e=this.$selectionColumnsForRow(t),s=[-1].concat(this.$tabsForRow(t)),i=s.map(function(t){return 0}).slice(1),o=this.$editor.session.getLine(t),n=0,r=s.length-1;r>n;n++){var h=s[n]+1,a=s[n+1],c=this.$rightmostSelectionInCell(e,a),l=o.substring(h,a);i[n]=Math.max(l.replace(/\s+$/g,"").length,c-h)}return i},this.$selectionColumnsForRow=function(t){var e=[],s=this.$editor.getCursorPosition();return this.$editor.session.getSelection().isEmpty()&&t==s.row&&e.push(s.column),e},this.$setBlockCellWidthsToMax=function(t){for(var e=!0,s,i,o,n=this.$izip_longest(t),r=0,h=n.length;h>r;r++){var a=n[r];if(a.push){a.push(0/0);for(var c=0,l=a.length;l>c;c++){var u=a[c];if(e&&(s=c,o=0,e=!1),isNaN(u)){i=c;for(var f=s;i>f;f++)t[f][r]=o;e=!0}o=Math.max(o,u)}}else console.error(a)}return t},this.$rightmostSelectionInCell=function(t,e){var s=0;if(t.length){for(var i=[],o=0,n=t.length;n>o;o++)i.push(t[o]<=e?o:0);s=Math.max.apply(Math,i)}return s},this.$tabsForRow=function(t){for(var e=[],s=this.$editor.session.getLine(t),i=/\t/g,o;null!=(o=i.exec(s));)e.push(o.index);return e},this.$adjustRow=function(t,e){var s=this.$tabsForRow(t);if(0!=s.length)for(var i=0,o=-1,n=this.$izip(e,s),r=0,h=n.length;h>r;r++){var a=n[r][0],c=n[r][1];o+=1+a,c+=i;var l=o-c;if(0!=l){var u=this.$editor.session.getLine(t).substr(0,c),f=u.replace(/\s*$/g,""),g=u.length-f.length;l>0&&(this.$editor.session.getDocument().insertInLine({row:t,column:c+1},Array(l+1).join(" ")+" "),this.$editor.session.getDocument().removeInLine(t,c,c+1),i+=l),0>l&&g>=-l&&(this.$editor.session.getDocument().removeInLine(t,c+l,c),i+=l)}}},this.$izip_longest=function(t){if(!t[0])return[];for(var e=t[0].length,s=t.length,i=1;s>i;i++){var o=t[i].length;o>e&&(e=o)}for(var n=[],r=0;e>r;r++){for(var h=[],i=0;s>i;i++)h.push(""===t[i][r]?0/0:t[i][r]);n.push(h)}return n},this.$izip=function(t,e){for(var s=t.length>=e.length?e.length:t.length,i=[],o=0;s>o;o++){var n=[t[o],e[o]];i.push(n)}return i}}).call(i.prototype),e.ElasticTabstopsLite=i;var o=t("../editor").Editor;t("../config").defineOptions(o.prototype,"editor",{useElasticTabstops:{set:function(t){t?(this.elasticTabstops||(this.elasticTabstops=new i(this)),this.commands.on("afterExec",this.elasticTabstops.onAfterExec),this.commands.on("exec",this.elasticTabstops.onExec),this.on("change",this.elasticTabstops.onChange)):this.elasticTabstops&&(this.commands.removeListener("afterExec",this.elasticTabstops.onAfterExec),this.commands.removeListener("exec",this.elasticTabstops.onExec),this.removeListener("change",this.elasticTabstops.onChange))}}})}),function(){ace.require(["ace/ext/elastic_tabstops_lite"],function(){})}();
|
1
public/libs/ace/ck/ext-emmet-min.js
vendored
1
public/libs/ace/ck/ext-emmet-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/ext-error_marker-min.js
vendored
1
public/libs/ace/ck/ext-error_marker-min.js
vendored
@ -1 +0,0 @@
|
||||
!function(){ace.require(["ace/ext/error_marker"],function(){})}();
|
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/menu_tools/overlay_page",["require","exports","module","ace/lib/dom"],function(e,o,t){"use strict";var n=e("../../lib/dom"),r="#ace_settingsmenu, #kbshortcutmenu {background-color: #F7F7F7;color: black;box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);padding: 1em 0.5em 2em 1em;overflow: auto;position: absolute;margin: 0;bottom: 0;right: 0;top: 0;z-index: 9991;cursor: default;}.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);background-color: rgba(255, 255, 255, 0.6);color: black;}.ace_optionsMenuEntry:hover {background-color: rgba(100, 100, 100, 0.1);-webkit-transition: all 0.5s;transition: all 0.3s}.ace_closeButton {background: rgba(245, 146, 146, 0.5);border: 1px solid #F48A8A;border-radius: 50%;padding: 7px;position: absolute;right: -8px;top: -8px;z-index: 1000;}.ace_closeButton{background: rgba(245, 146, 146, 0.9);}.ace_optionsMenuKey {color: darkslateblue;font-weight: bold;}.ace_optionsMenuCommand {color: darkcyan;font-weight: normal;}";n.importCssString(r),t.exports.overlayPage=function(e,o,t,r,a,i){function c(e){27===e.keyCode&&d.click()}t=t?"top: "+t+";":"",a=a?"bottom: "+a+";":"",r=r?"right: "+r+";":"",i=i?"left: "+i+";":"";var d=document.createElement("div"),s=document.createElement("div");d.style.cssText="margin: 0; padding: 0; position: fixed; top:0; bottom:0; left:0; right:0;z-index: 9990; background-color: rgba(0, 0, 0, 0.3);",d.addEventListener("click",function(){document.removeEventListener("keydown",c),d.parentNode.removeChild(d),e.focus(),d=null}),document.addEventListener("keydown",c),s.style.cssText=t+r+a+i,s.addEventListener("click",function(e){e.stopPropagation()});var u=n.createElement("div");u.style.position="relative";var l=n.createElement("div");l.className="ace_closeButton",l.addEventListener("click",function(){d.click()}),u.appendChild(l),s.appendChild(u),s.appendChild(o),d.appendChild(s),document.body.appendChild(d),e.blur()}}),ace.define("ace/ext/menu_tools/get_editor_keyboard_shortcuts",["require","exports","module","ace/lib/keys"],function(e,o,t){"use strict";var n=e("../../lib/keys");t.exports.getEditorKeybordShortcuts=function(e){var o=n.KEY_MODS,t=[],r={};return e.keyBinding.$handlers.forEach(function(e){var n=e.commandKeyBinding;for(var a in n){var i=parseInt(a);i=-1==i?"":isNaN(i)?a:""+(i&o.command?"Cmd-":"")+(i&o.ctrl?"Ctrl-":"")+(i&o.alt?"Alt-":"")+(i&o.shift?"Shift-":"");for(var c in n[a]){var d=n[a][c];"string"!=typeof d&&(d=d.name),r[d]?r[d].key+="|"+i+c:(r[d]={key:i+c,command:d},t.push(r[d]))}}}),t}}),ace.define("ace/ext/keybinding_menu",["require","exports","module","ace/editor","ace/ext/menu_tools/overlay_page","ace/ext/menu_tools/get_editor_keyboard_shortcuts"],function(e,o,t){"use strict";function n(o){if(!document.getElementById("kbshortcutmenu")){var t=e("./menu_tools/overlay_page").overlayPage,n=e("./menu_tools/get_editor_keyboard_shortcuts").getEditorKeybordShortcuts,r=n(o),a=document.createElement("div"),i=r.reduce(function(e,o){return e+'<div class="ace_optionsMenuEntry"><span class="ace_optionsMenuCommand">'+o.command+'</span> : <span class="ace_optionsMenuKey">'+o.key+"</span></div>"},"");a.id="kbshortcutmenu",a.innerHTML="<h1>Keyboard Shortcuts</h1>"+i+"</div>",t(o,a,"0","0","0",null)}}var r=e("ace/editor").Editor;t.exports.init=function(e){r.prototype.showKeyboardShortcuts=function(){n(this)},e.commands.addCommands([{name:"showKeyboardShortcuts",bindKey:{win:"Ctrl-Alt-h",mac:"Command-Alt-h"},exec:function(e,o){e.showKeyboardShortcuts()}}])}}),function(){ace.require(["ace/ext/keybinding_menu"],function(){})}();
|
2
public/libs/ace/ck/ext-language_tools-min.js
vendored
2
public/libs/ace/ck/ext-language_tools-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/ext-linking-min.js
vendored
1
public/libs/ace/ck/ext-linking-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,o,i){function t(e){var o=e.editor,i=e.getAccelKey();if(i){var o=e.editor,t=e.getDocumentPosition(),n=o.session,c=n.getTokenAt(t.row,t.column);o._emit("linkHover",{position:t,token:c})}}function n(e){var o=e.getAccelKey(),i=e.getButton();if(0==i&&o){var t=e.editor,n=e.getDocumentPosition(),c=t.session,r=c.getTokenAt(n.row,n.column);t._emit("linkClick",{position:n,token:r})}}var c=e("ace/editor").Editor;e("../config").defineOptions(c.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",n),this.on("mousemove",t)):(this.off("click",n),this.off("mousemove",t))},value:!1}})}),function(){ace.require(["ace/ext/linking"],function(){})}();
|
1
public/libs/ace/ck/ext-modelist-min.js
vendored
1
public/libs/ace/ck/ext-modelist-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/modelist",["require","exports","module"],function(e,t,s){"use strict";function a(e){for(var t=c.text,s=e.split(/[\/\\]/).pop(),a=0;a<l.length;a++)if(l[a].supportsFile(s)){t=l[a];break}return t}var l=[],r=function(e,t,s){if(this.name=e,this.caption=t,this.mode="ace/mode/"+e,this.extensions=s,/\^/.test(s))var a=s.replace(/\|(\^)?/g,function(e,t){return"$|"+(t?"^":"^.*\\.")})+"$";else var a="^.*\\.("+s+")$";this.extRe=new RegExp(a,"gi")};r.prototype.supportsFile=function(e){return e.match(this.extRe)};var i={ABAP:["abap"],ActionScript:["as"],ADA:["ada|adb"],Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],AsciiDoc:["asciidoc"],Assembly_x86:["asm"],AutoHotKey:["ahk"],BatchFile:["bat|cmd"],C9Search:["c9search_results"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp"],Cirru:["cirru|cr"],Clojure:["clj|cljs"],Cobol:["CBL|COB"],coffee:["coffee|cf|cson|^Cakefile"],ColdFusion:["cfm"],CSharp:["cs"],CSS:["css"],Curly:["curly"],D:["d|di"],Dart:["dart"],Diff:["diff|patch"],Dockerfile:["^Dockerfile"],Dot:["dot"],Eiffel:["e"],EJS:["ejs"],Erlang:["erl|hrl"],Forth:["frt|fs|ldr"],FTL:["ftl"],Gcode:["gcode"],Gherkin:["feature"],Gitignore:["^.gitignore"],Glsl:["glsl|frag|vert"],golang:["go"],Groovy:["groovy"],HAML:["haml"],Handlebars:["hbs|handlebars|tpl|mustache"],Haskell:["hs"],haXe:["hx"],HTML:["html|htm|xhtml"],HTML_Ruby:["erb|rhtml|html.erb"],INI:["ini|conf|cfg|prefs"],Io:["io"],Jack:["jack"],Jade:["jade"],Java:["java"],JavaScript:["js|jsm"],JSON:["json"],JSONiq:["jq"],JSP:["jsp"],JSX:["jsx"],Julia:["jl"],LaTeX:["tex|latex|ltx|bib"],LESS:["less"],Liquid:["liquid"],Lisp:["lisp"],LiveScript:["ls"],LogiQL:["logic|lql"],LSL:["lsl"],Lua:["lua"],LuaPage:["lp"],Lucene:["lucene"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],MATLAB:["matlab"],MEL:["mel"],MUSHCode:["mc|mush"],MySQL:["mysql"],Nix:["nix"],ObjectiveC:["m|mm"],OCaml:["ml|mli"],Pascal:["pas|p"],Perl:["pl|pm"],pgSQL:["pgsql"],PHP:["php|phtml"],Powershell:["ps1"],Praat:["praat|praatscript|psc|proc"],Prolog:["plg|prolog"],Properties:["properties"],Protobuf:["proto"],Python:["py"],R:["r"],RDoc:["Rd"],RHTML:["Rhtml"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCAD:["scad"],Scala:["scala"],Scheme:["scm|rkt"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SJS:["sjs"],Smarty:["smarty|tpl"],snippets:["snippets"],Soy_Template:["soy"],Space:["space"],SQL:["sql"],Stylus:["styl|stylus"],SVG:["svg"],Tcl:["tcl"],Tex:["tex"],Text:["txt"],Textile:["textile"],Toml:["toml"],Twig:["twig"],Typescript:["ts|typescript|str"],Vala:["vala"],VBScript:["vbs|vb"],Velocity:["vm"],Verilog:["v|vh|sv|svh"],VHDL:["vhd|vhdl"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl"],XQuery:["xq"],YAML:["yaml|yml"]},o={ObjectiveC:"Objective-C",CSharp:"C#",golang:"Go",C_Cpp:"C and C++",coffee:"CoffeeScript",HTML_Ruby:"HTML (Ruby)",FTL:"FreeMarker"},c={};for(var p in i){var m=i[p],h=(o[p]||p).replace(/_/g," "),f=p.toLowerCase(),n=new r(f,h,m[0]);c[f]=n,l.push(n)}s.exports={getModeForPath:a,modes:l,modesByName:c}}),function(){ace.require(["ace/ext/modelist"],function(){})}();
|
1
public/libs/ace/ck/ext-old_ie-min.js
vendored
1
public/libs/ace/ck/ext-old_ie-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/ext-settings_menu-min.js
vendored
1
public/libs/ace/ck/ext-settings_menu-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/ext-spellcheck-min.js
vendored
1
public/libs/ace/ck/ext-spellcheck-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(e,t,n){"use strict";var i=e("../lib/event");t.contextMenuHandler=function(e){var t=e.target,n=t.textInput.getElement();if(t.selection.isEmpty()){var s=t.getCursorPosition(),o=t.session.getWordRange(s.row,s.column),c=t.session.getTextRange(o);if(t.session.tokenRe.lastIndex=0,t.session.tokenRe.test(c)){var r="",l=c+" "+r;n.value=l,n.setSelectionRange(c.length,c.length+1),n.setSelectionRange(0,0),n.setSelectionRange(0,c.length);var a=!1;i.addListener(n,"keydown",function u(){i.removeListener(n,"keydown",u),a=!0}),t.textInput.setInputHandler(function(e){if(console.log(e,l,n.selectionStart,n.selectionEnd),e==l)return"";if(0===e.lastIndexOf(l,0))return e.slice(l.length);if(e.substr(n.selectionEnd)==l)return e.slice(0,-l.length);if(e.slice(-2)==r){var i=e.slice(0,-2);if(" "==i.slice(-1))return a?i.substring(0,n.selectionEnd):(i=i.slice(0,-1),t.session.replace(o,i),"")}return e})}}};var s=e("../editor").Editor;e("../config").defineOptions(s.prototype,"editor",{spellcheck:{set:function(e){var n=this.textInput.getElement();n.spellcheck=!!e,e?this.on("nativecontextmenu",t.contextMenuHandler):this.removeListener("nativecontextmenu",t.contextMenuHandler)},value:!0}})}),function(){ace.require(["ace/ext/spellcheck"],function(){})}();
|
1
public/libs/ace/ck/ext-split-min.js
vendored
1
public/libs/ace/ck/ext-split-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(t,i,e){"use strict";function s(t,i){this.$u=t,this.$doc=i}var n=t("./lib/oop"),o=t("./lib/lang"),r=t("./lib/event_emitter").EventEmitter,h=t("./editor").Editor,a=t("./virtual_renderer").VirtualRenderer,c=t("./edit_session").EditSession,l=function(t,i,e){this.BELOW=1,this.BESIDE=0,this.$container=t,this.$theme=i,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(e||1),this.$cEditor=this.$editors[0],this.on("focus",function(t){this.$cEditor=t}.bind(this))};(function(){n.implement(this,r),this.$createEditor=function(){var t=document.createElement("div");t.className=this.$editorCSS,t.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(t);var i=new h(new a(t,this.$theme));return i.on("focus",function(){this._emit("focus",i)}.bind(this)),this.$editors.push(i),i.setFontSize(this.$fontSize),i},this.setSplits=function(t){var i;if(1>t)throw"The number of splits have to be > 0!";if(t!=this.$splits){if(t>this.$splits){for(;this.$splits<this.$editors.length&&this.$splits<t;)i=this.$editors[this.$splits],this.$container.appendChild(i.container),i.setFontSize(this.$fontSize),this.$splits++;for(;this.$splits<t;)this.$createEditor(),this.$splits++}else for(;this.$splits>t;)i=this.$editors[this.$splits-1],this.$container.removeChild(i.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(t){return this.$editors[t]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(t){this.$editors.forEach(function(i){i.setTheme(t)})},this.setKeyboardHandler=function(t){this.$editors.forEach(function(i){i.setKeyboardHandler(t)})},this.forEach=function(t,i){this.$editors.forEach(t,i)},this.$fontSize="",this.setFontSize=function(t){this.$fontSize=t,this.forEach(function(i){i.setFontSize(t)})},this.$cloneSession=function(t){var i=new c(t.getDocument(),t.getMode()),e=t.getUndoManager();if(e){var n=new s(e,i);i.setUndoManager(n)}return i.$informUndoManager=o.delayedCall(function(){i.$deltas=[]}),i.setTabSize(t.getTabSize()),i.setUseSoftTabs(t.getUseSoftTabs()),i.setOverwrite(t.getOverwrite()),i.setBreakpoints(t.getBreakpoints()),i.setUseWrapMode(t.getUseWrapMode()),i.setUseWorker(t.getUseWorker()),i.setWrapLimitRange(t.$wrapLimitRange.min,t.$wrapLimitRange.max),i.$foldData=t.$cloneFoldData(),i},this.setSession=function(t,i){var e;e=null==i?this.$cEditor:this.$editors[i];var s=this.$editors.some(function(i){return i.session===t});return s&&(t=this.$cloneSession(t)),e.setSession(t),t},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(t){this.$orientation!=t&&(this.$orientation=t,this.resize())},this.resize=function(){var t=this.$container.clientWidth,i=this.$container.clientHeight,e;if(this.$orientation==this.BESIDE)for(var s=t/this.$splits,n=0;n<this.$splits;n++)e=this.$editors[n],e.container.style.width=s+"px",e.container.style.top="0px",e.container.style.left=n*s+"px",e.container.style.height=i+"px",e.resize();else for(var o=i/this.$splits,n=0;n<this.$splits;n++)e=this.$editors[n],e.container.style.width=t+"px",e.container.style.top=n*o+"px",e.container.style.left="0px",e.container.style.height=o+"px",e.resize()}}).call(l.prototype),function(){this.execute=function(t){this.$u.execute(t)},this.undo=function(){var t=this.$u.undo(!0);t&&this.$doc.selection.setSelectionRange(t)},this.redo=function(){var t=this.$u.redo(!0);t&&this.$doc.selection.setSelectionRange(t)},this.reset=function(){this.$u.reset()},this.hasUndo=function(){return this.$u.hasUndo()},this.hasRedo=function(){return this.$u.hasRedo()}}.call(s.prototype),i.Split=l}),ace.define("ace/ext/split",["require","exports","module","ace/split"],function(t,i,e){"use strict";e.exports=t("../split")}),function(){ace.require(["ace/ext/split"],function(){})}();
|
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/static_highlight",["require","exports","module","ace/edit_session","ace/layer/text","ace/config","ace/lib/dom"],function(e,t,i){"use strict";var n=e("../edit_session").EditSession,s=e("../layer/text").Text,r=".ace_static_highlight {font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', 'Droid Sans Mono', monospace;font-size: 12px;}.ace_static_highlight .ace_gutter {width: 25px !important;float: left;text-align: right;padding: 0 3px 0 0;margin-right: 3px;position: static !important;}.ace_static_highlight .ace_line { clear: both; }.ace_static_highlight .ace_gutter-cell {-moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;}.ace_static_highlight .ace_gutter-cell:before {content: counter(ace_line, decimal);counter-increment: ace_line;}.ace_static_highlight {counter-reset: ace_line;}",o=e("../config"),a=e("../lib/dom"),c=function(e,t,i){var n=e.className.match(/lang-(\w+)/),s=t.mode||n&&"ace/mode/"+n[1];if(!s)return!1;var r=t.theme||"ace/theme/textmate",o="",l=[];if(e.firstElementChild)for(var h=0,d=0;d<e.childNodes.length;d++){var g=e.childNodes[d];3==g.nodeType?(h+=g.data.length,o+=g.data):l.push(h,g)}else o=a.getInnerText(e),t.trim&&(o=o.trim());c.render(o,s,r,t.firstLineNumber,!t.showGutter,function(t){a.importCssString(t.css,"ace_highlight"),e.innerHTML=t.html;for(var n=e.firstChild.firstChild,s=0;s<l.length;s+=2){var r=t.session.doc.indexToPosition(l[s]),o=l[s+1],c=n.children[r.row];c&&c.appendChild(o)}i&&i()})};c.render=function(e,t,i,s,r,a){function l(){var n=c.renderSync(e,t,i,s,r);return a?a(n):n}var h=1,d=n.prototype.$modes;"string"==typeof i&&(h++,o.loadModule(["theme",i],function(e){i=e,--h||l()}));var g;return t&&"object"==typeof t&&!t.getTokenizer&&(g=t,t=g.path),"string"==typeof t&&(h++,o.loadModule(["mode",t],function(e){(!d[t]||g)&&(d[t]=new e.Mode(g)),t=d[t],--h||l()})),--h||l()},c.renderSync=function(e,t,i,o,a){o=parseInt(o||1,10);var c=new n("");c.setUseWorker(!1),c.setMode(t);var l=new s(document.createElement("div"));l.setSession(c),l.config={characterWidth:10,lineHeight:20},c.setValue(e);for(var h=[],d=c.getLength(),g=0;d>g;g++)h.push("<div class='ace_line'>"),a||h.push("<span class='ace_gutter ace_gutter-cell' unselectable='on'></span>"),l.$renderLine(h,g,!0,!1),h.push("\n</div>");var u="<div class='"+i.cssClass+"'><div class='ace_static_highlight' style='counter-reset:ace_line "+(o-1)+"'>"+h.join("")+"</div></div>";return l.destroy(),{css:r+i.cssText,html:u,session:c}},i.exports=c,i.exports.highlight=c}),function(){ace.require(["ace/ext/static_highlight"],function(){})}();
|
1
public/libs/ace/ck/ext-statusbar-min.js
vendored
1
public/libs/ace/ck/ext-statusbar-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"],function(e,t,n){"use strict";var a=e("ace/lib/dom"),i=e("ace/lib/lang"),c=function(e,t){this.element=a.createElement("div"),this.element.className="ace_status-indicator",this.element.style.cssText="display: inline-block;",t.appendChild(this.element);var n=i.delayedCall(function(){this.updateStatus(e)}.bind(this));e.on("changeStatus",function(){n.schedule(100)}),e.on("changeSelection",function(){n.schedule(100)})};(function(){this.updateStatus=function(e){function t(e,t){e&&n.push(e,t||"|")}var n=[];e.$vimModeHandler?t(e.$vimModeHandler.getStatusText()):e.commands.recording&&t("REC");var a=e.selection.lead;if(t(a.row+":"+a.column," "),!e.selection.isEmpty()){var i=e.getSelectionRange();t("("+(i.end.row-i.start.row)+":"+(i.end.column-i.start.column)+")")}n.pop(),this.element.textContent=n.join("")}}).call(c.prototype),t.StatusBar=c}),function(){ace.require(["ace/ext/statusbar"],function(){})}();
|
1
public/libs/ace/ck/ext-textarea-min.js
vendored
1
public/libs/ace/ck/ext-textarea-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/ext-themelist-min.js
vendored
1
public/libs/ace/ck/ext-themelist-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"],function(r,e,o){"use strict";r("ace/lib/fixoldbrowsers");var a=[["Chrome"],["Clouds"],["Crimson Editor"],["Dawn"],["Dreamweaver"],["Eclipse"],["GitHub"],["Solarized Light"],["TextMate"],["Tomorrow"],["XCode"],["Kuroir"],["KatzenMilch"],["Ambiance","ambiance","dark"],["Chaos","chaos","dark"],["Clouds Midnight","clouds_midnight","dark"],["Cobalt","cobalt","dark"],["idle Fingers","idle_fingers","dark"],["krTheme","kr_theme","dark"],["Merbivore","merbivore","dark"],["Merbivore Soft","merbivore_soft","dark"],["Mono Industrial","mono_industrial","dark"],["Monokai","monokai","dark"],["Pastel on dark","pastel_on_dark","dark"],["Solarized Dark","solarized_dark","dark"],["Terminal","terminal","dark"],["Tomorrow Night","tomorrow_night","dark"],["Tomorrow Night Blue","tomorrow_night_blue","dark"],["Tomorrow Night Bright","tomorrow_night_bright","dark"],["Tomorrow Night 80s","tomorrow_night_eighties","dark"],["Twilight","twilight","dark"],["Vibrant Ink","vibrant_ink","dark"]];e.themesByName={},e.themes=a.map(function(r){var o=r[1]||r[0].replace(/ /g,"_").toLowerCase(),a={caption:r[0],theme:"ace/theme/"+o,isDark:"dark"==r[2],name:o};return e.themesByName[o]=a,a})}),function(){ace.require(["ace/ext/themelist"],function(){})}();
|
1
public/libs/ace/ck/ext-whitespace-min.js
vendored
1
public/libs/ace/ck/ext-whitespace-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/ext/whitespace",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/lang");t.$detectIndentation=function(e,t){function n(e){for(var t=0,n=e;n<r.length;n+=e)t+=r[n]||0;return t}for(var r=[],i=[],a=0,s=0,c=Math.min(e.length,1e3),o=0;c>o;o++){var g=e[o];if(/^\s*[^*+\-\s]/.test(g)){" "==g[0]&&a++;var h=g.match(/^ */)[0].length;if(h&&" "!=g[h]){var l=h-s;l>0&&!(s%l)&&!(h%l)&&(i[l]=(i[l]||0)+1),r[h]=(r[h]||0)+1}for(s=h;c>o&&"\\"==g[g.length-1];)g=e[o++]}}for(var f=i.reduce(function(e,t){return e+t},0),u={score:0,length:0},v=0,o=1;12>o;o++){var d=n(o);1==o?(v=d,d=r[1]?.9:.8,r.length||(d=0)):d/=v,i[o]&&(d+=i[o]/f),d>u.score&&(u={score:d,length:o})}if(u.score&&u.score>1.4)var m=u.length;return a>v+1?{ch:" ",length:m}:v>a+1?{ch:" ",length:m}:void 0},t.detectIndentation=function(e){var n=e.getLines(0,1e3),r=t.$detectIndentation(n)||{};return r.ch&&e.setUseSoftTabs(" "==r.ch),r.length&&e.setTabSize(r.length),r},t.trimTrailingSpace=function(e,t){for(var n=e.getDocument(),r=n.getAllLines(),i=t?-1:0,a=0,s=r.length;s>a;a++){var c=r[a],o=c.search(/\s+$/);o>i&&n.removeInLine(a,o,c.length)}},t.convertIndentation=function(e,t,n){var i=e.getTabString()[0],a=e.getTabSize();n||(n=a),t||(t=i);for(var s=" "==t?t:r.stringRepeat(t,n),c=e.doc,o=c.getAllLines(),g={},h={},l=0,f=o.length;f>l;l++){var u=o[l],v=u.match(/^\s*/)[0];if(v){var d=e.$getStringScreenWidth(v)[0],m=Math.floor(d/a),p=d%a,S=g[m]||(g[m]=r.stringRepeat(s,m));S+=h[p]||(h[p]=r.stringRepeat(" ",p)),S!=v&&(c.removeInLine(l,0,v.length),c.insertInLine({row:l,column:0},S))}}e.setTabSize(n),e.setUseSoftTabs(" "==t)},t.$parseStringArg=function(e){var t={};/t/.test(e)?t.ch=" ":/s/.test(e)&&(t.ch=" ");var n=e.match(/\d+/);return n&&(t.length=parseInt(n[0],10)),t},t.$parseArg=function(e){return e?"string"==typeof e?t.$parseStringArg(e):"string"==typeof e.text?t.$parseStringArg(e.text):e:{}},t.commands=[{name:"detectIndentation",exec:function(e){t.detectIndentation(e.session)}},{name:"trimTrailingSpace",exec:function(e){t.trimTrailingSpace(e.session)}},{name:"convertIndentation",exec:function(e,n){var r=t.$parseArg(n);t.convertIndentation(e.session,r.ch,r.length)}},{name:"setIndentation",exec:function(e,n){var r=t.$parseArg(n);r.length&&e.session.setTabSize(r.length),r.ch&&e.session.setUseSoftTabs(" "==r.ch)}}]}),function(){ace.require(["ace/ext/whitespace"],function(){})}();
|
1
public/libs/ace/ck/keybinding-emacs-min.js
vendored
1
public/libs/ace/ck/keybinding-emacs-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-abap-min.js
vendored
1
public/libs/ace/ck/mode-abap-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-actionscript-min.js
vendored
1
public/libs/ace/ck/mode-actionscript-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-ada-min.js
vendored
1
public/libs/ace/ck/mode-ada-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/ada_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,r){"use strict";var a=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,n=function(){var e="abort|else|new|return|abs|elsif|not|reverse|abstract|end|null|accept|entry|select|access|exception|of|separate|aliased|exit|or|some|all|others|subtype|and|for|out|synchronized|array|function|overriding|at|tagged|generic|package|task|begin|goto|pragma|terminate|body|private|then|if|procedure|type|case|in|protected|constant|interface|until||is|raise|use|declare|range|delay|limited|record|when|delta|loop|rem|while|digits|renames|with|do|mod|requeue|xor",t="true|false|null",r="count|min|max|avg|sum|rank|now|coalesce|main",a=this.createKeywordMapper({"support.function":r,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:a,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};a.inherits(n,i),t.AdaHighlightRules=n}),ace.define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules","ace/range"],function(e,t,r){"use strict";var a=e("../lib/oop"),i=e("./text").Mode,n=e("./ada_highlight_rules").AdaHighlightRules,o=e("../range").Range,s=function(){this.HighlightRules=n};a.inherits(s,i),function(){this.lineCommentStart="--",this.$id="ace/mode/ada"}.call(s.prototype),t.Mode=s});
|
1
public/libs/ace/ck/mode-apache_conf-min.js
vendored
1
public/libs/ace/ck/mode-apache_conf-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-asciidoc-min.js
vendored
1
public/libs/ace/ck/mode-asciidoc-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-assembly_x86-min.js
vendored
1
public/libs/ace/ck/mode-assembly_x86-min.js
vendored
File diff suppressed because one or more lines are too long
2
public/libs/ace/ck/mode-autohotkey-min.js
vendored
2
public/libs/ace/ck/mode-autohotkey-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-batchfile-min.js
vendored
1
public/libs/ace/ck/mode-batchfile-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/batchfile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,o){"use strict";var i=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"keyword.command.dosbatch",regex:"\\b(?:append|assoc|at|attrib|break|cacls|cd|chcp|chdir|chkdsk|chkntfs|cls|cmd|color|comp|compact|convert|copy|date|del|dir|diskcomp|diskcopy|doskey|echo|endlocal|erase|fc|find|findstr|format|ftype|graftabl|help|keyb|label|md|mkdir|mode|more|move|path|pause|popd|print|prompt|pushd|rd|recover|ren|rename|replace|restore|rmdir|set|setlocal|shift|sort|start|subst|time|title|tree|type|ver|verify|vol|xcopy)\\b",caseInsensitive:!0},{token:"keyword.control.statement.dosbatch",regex:"\\b(?:goto|call|exit)\\b",caseInsensitive:!0},{token:"keyword.control.conditional.if.dosbatch",regex:"\\bif\\s+not\\s+(?:exist|defined|errorlevel|cmdextversion)\\b",caseInsensitive:!0},{token:"keyword.control.conditional.dosbatch",regex:"\\b(?:if|else)\\b",caseInsensitive:!0},{token:"keyword.control.repeat.dosbatch",regex:"\\bfor\\b",caseInsensitive:!0},{token:"keyword.operator.dosbatch",regex:"\\b(?:EQU|NEQ|LSS|LEQ|GTR|GEQ)\\b"},{token:["doc.comment","comment"],regex:"(?:^|\\b)(rem)($|\\s.*$)",caseInsensitive:!0},{token:"comment.line.colons.dosbatch",regex:"::.*$"},{include:"variable"},{token:"punctuation.definition.string.begin.shell",regex:'"',push:[{token:"punctuation.definition.string.end.shell",regex:'"',next:"pop"},{include:"variable"},{defaultToken:"string.quoted.double.dosbatch"}]},{token:"keyword.operator.pipe.dosbatch",regex:"[|]"},{token:"keyword.operator.redirect.shell",regex:"&>|\\d*>&\\d*|\\d*(?:>>|>|<)|\\d*<&|\\d*<>"}],variable:[{token:"constant.numeric",regex:"%%\\w+|%[*\\d]|%\\w+%"},{token:"constant.numeric",regex:"%~\\d+"},{token:["markup.list","constant.other","markup.list"],regex:"(%)(\\w+)(%?)"}]},this.normalizeRules()};n.metaData={name:"Batch File",scopeName:"source.dosbatch",fileTypes:["bat"]},i.inherits(n,r),t.BatchFileHighlightRules=n}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,o){"use strict";var i=e("../../lib/oop"),r=e("../../range").Range,n=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(a,n),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.getFoldWidgetRange=function(e,t,o,i){var r=e.getLine(o),n=r.match(this.foldingStartMarker);if(n){var a=n.index;if(n[1])return this.openingBracketBlock(e,n[1],o,a);var s=e.getCommentFoldRange(o,a+n[0].length,1);return s&&!s.isMultiLine()&&(i?s=this.getSectionRange(e,o):"all"!=t&&(s=null)),s}if("markbegin"!==t){var n=r.match(this.foldingStopMarker);if(n){var a=n.index+n[0].length;return n[1]?this.closingBracketBlock(e,n[1],o,a):e.getCommentFoldRange(o,a,-1)}}},this.getSectionRange=function(e,t){var o=e.getLine(t),i=o.search(/\S/),n=t,a=o.length;t+=1;for(var s=t,l=e.getLength();++t<l;){o=e.getLine(t);var c=o.search(/\S/);if(-1!==c){if(i>c)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=n)break;if(d.isMultiLine())t=d.end.row;else if(i==c)break}s=t}}return new r(n,a,s,e.getLine(s).length)}}.call(a.prototype)}),ace.define("ace/mode/batchfile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/batchfile_highlight_rules","ace/mode/folding/cstyle"],function(e,t,o){"use strict";var i=e("../lib/oop"),r=e("./text").Mode,n=e("./batchfile_highlight_rules").BatchFileHighlightRules,a=e("./folding/cstyle").FoldMode,s=function(){this.HighlightRules=n,this.foldingRules=new a};i.inherits(s,r),function(){this.lineCommentStart="::",this.blockComment="",this.$id="ace/mode/batchfile"}.call(s.prototype),t.Mode=s});
|
1
public/libs/ace/ck/mode-c9search-min.js
vendored
1
public/libs/ace/ck/mode-c9search-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/c9search_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";function r(e,t){try{return new RegExp(e,t)}catch(n){}}var i=e("../lib/oop"),a=e("../lib/lang"),o=e("./text_highlight_rules").TextHighlightRules,c=function(){this.$rules={start:[{tokenNames:["c9searchresults.constant.numeric","c9searchresults.text","c9searchresults.text","c9searchresults.keyword"],regex:"(^\\s+[0-9]+)(:\\s)(.+)",onMatch:function(e,t,n){var r=this.splitRegex.exec(e),i=this.tokenNames,a=[{type:i[0],value:r[1]},{type:i[1],value:r[2]}],o=n[1],c=r[3],s,u=0;if(o&&o.exec)for(o.lastIndex=0;s=o.exec(c);){var h=c.substring(u,s.index);if(u=o.lastIndex,h&&a.push({type:i[2],value:h}),s[0])a.push({type:i[3],value:s[0]});else if(!h)break}return u<c.length&&a.push({type:i[2],value:c.substr(u)}),a}},{token:["string","text"],regex:"(\\S.*)(:$)"},{regex:"Searching for .*$",onMatch:function(e,t,n){var i=e.split("");if(i.length<3)return"text";var o,c,s,u=0,h=[{value:i[u++]+"'",type:"text"},{value:c=i[u++],type:"text"},{value:"'"+i[u++],type:"text"}];for(" in"!==i[2]&&(s=i[u],h.push({value:"'"+i[u++]+"'",type:"text"},{value:i[u++],type:"text"})),h.push({value:" "+i[u++]+" ",type:"text"}),i[u+1]?(o=i[u+1],h.push({value:"("+i[u+1]+")",type:"text"}),u+=1):u-=1;u++<i.length;)i[u]&&h.push({value:i[u],type:"text"});s&&(c=s,o=""),c&&(/regex/.test(o)||(c=a.escapeRegExp(c)),/whole/.test(o)&&(c="\\b"+c+"\\b"));var l=c&&r("("+c+")",/ sensitive/.test(o)?"g":"ig");return l&&(n[0]=t,n[1]=l),h}},{regex:"\\d+",token:"constant.numeric"}]}};i.inherits(c,o),t.C9SearchHighlightRules=c}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var a=i[1].length,o=e.findMatchingBracket({row:t,column:a});if(!o||o.row==t)return 0;var c=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,a-1),c)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define("ace/mode/folding/c9search",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,a=e("./fold_mode").FoldMode,o=t.FoldMode=function(){};r.inherits(o,a),function(){this.foldingStartMarker=/^(\S.*\:|Searching for.*)$/,this.foldingStopMarker=/^(\s+|Found.*)$/,this.getFoldWidgetRange=function(e,t,n){var r=e.doc.getAllLines(n),a=r[n],o=/^(Found.*|Searching for.*)$/,c=/^(\S.*\:|\s*)$/,s=o.test(a)?o:c,u=n,h=n;if(this.foldingStartMarker.test(a)){for(var l=n+1,g=e.getLength();g>l&&!s.test(r[l]);l++);h=l}else if(this.foldingStopMarker.test(a)){for(var l=n-1;l>=0&&(a=r[l],!s.test(a));l--);u=l}if(u!=h){var d=a.length;return s===o&&(d=a.search(/\(Found[^)]+\)$|$/)),new i(u,d,h,0)}}}.call(o.prototype)}),ace.define("ace/mode/c9search",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c9search_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/c9search"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,a=e("./c9search_highlight_rules").C9SearchHighlightRules,o=e("./matching_brace_outdent").MatchingBraceOutdent,c=e("./folding/c9search").FoldMode,s=function(){this.HighlightRules=a,this.$outdent=new o,this.foldingRules=new c};r.inherits(s,i),function(){this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/c9search"}.call(s.prototype),t.Mode=s});
|
1
public/libs/ace/ck/mode-cirru-min.js
vendored
1
public/libs/ace/ck/mode-cirru-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/cirru_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,r){"use strict";var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"constant.numeric",regex:/[\d\.]+/},{token:"comment.line.double-dash",regex:/--/,next:"comment"},{token:"storage.modifier",regex:/\(/},{token:"storage.modifier",regex:/\,/,next:"line"},{token:"support.function",regex:/[^\(\)\"\s]+/,next:"line"},{token:"string.quoted.double",regex:/"/,next:"string"},{token:"storage.modifier",regex:/\)/}],comment:[{token:"comment.line.double-dash",regex:/\ +[^\n]+/,next:"start"}],string:[{token:"string.quoted.double",regex:/"/,next:"line"},{token:"constant.character.escape",regex:/\\/,next:"escape"},{token:"string.quoted.double",regex:/[^\\\"]+/}],escape:[{token:"constant.character.escape",regex:/./,next:"string"}],line:[{token:"constant.numeric",regex:/[\d\.]+/},{token:"markup.raw",regex:/^\s*/,next:"start"},{token:"storage.modifier",regex:/\$/,next:"start"},{token:"variable.parameter",regex:/[^\(\)\"\s]+/},{token:"storage.modifier",regex:/\(/,next:"start"},{token:"storage.modifier",regex:/\)/},{token:"markup.raw",regex:/^\ */,next:"start"},{token:"string.quoted.double",regex:/"/,next:"string"}]}};i.inherits(n,o),t.CirruHighlightRules=n}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,r){"use strict";var i=e("../../lib/oop"),o=e("./fold_mode").FoldMode,n=e("../../range").Range,s=t.FoldMode=function(){};i.inherits(s,o),function(){this.getFoldWidgetRange=function(e,t,r){var i=this.indentationBlock(e,r);if(i)return i;var o=/\S/,s=e.getLine(r),g=s.search(o);if(-1!=g&&"#"==s[g]){for(var a=s.length,d=e.getLength(),l=r,c=r;++r<d;){s=e.getLine(r);var u=s.search(o);if(-1!=u){if("#"!=s[u])break;c=r}}if(c>l){var f=e.getLine(c).length;return new n(l,a,c,f)}}},this.getFoldWidget=function(e,t,r){var i=e.getLine(r),o=i.search(/\S/),n=e.getLine(r+1),s=e.getLine(r-1),g=s.search(/\S/),a=n.search(/\S/);if(-1==o)return e.foldWidgets[r-1]=-1!=g&&a>g?"start":"","";if(-1==g){if(o==a&&"#"==i[o]&&"#"==n[o])return e.foldWidgets[r-1]="",e.foldWidgets[r+1]="","start"}else if(g==o&&"#"==i[o]&&"#"==s[o]&&-1==e.getLine(r-2).search(/\S/))return e.foldWidgets[r-1]="start",e.foldWidgets[r+1]="","";return e.foldWidgets[r-1]=-1!=g&&o>g?"start":"",a>o?"start":""}}.call(s.prototype)}),ace.define("ace/mode/cirru",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/cirru_highlight_rules","ace/mode/folding/coffee"],function(e,t,r){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,n=e("./cirru_highlight_rules").CirruHighlightRules,s=e("./folding/coffee").FoldMode,g=function(){this.HighlightRules=n,this.foldingRules=new s};i.inherits(g,o),function(){this.lineCommentStart="--",this.$id="ace/mode/cirru"}.call(g.prototype),t.Mode=g});
|
1
public/libs/ace/ck/mode-clojure-min.js
vendored
1
public/libs/ace/ck/mode-clojure-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-cobol-min.js
vendored
1
public/libs/ace/ck/mode-cobol-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/cobol_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(E,e,T){"use strict";var R=E("../lib/oop"),t=E("./text_highlight_rules").TextHighlightRules,A=function(){var E="ACCEPT|MERGE|SUM|ADD||MESSAGE|TABLE|ADVANCING|MODE|TAPE|AFTER|MULTIPLY|TEST|ALL|NEGATIVE|TEXT|ALPHABET|NEXT|THAN|ALSO|NO|THEN|ALTERNATE|NOT|THROUGH|AND|NUMBER|THRU|ANY|OCCURS|TIME|ARE|OF|TO|AREA|OFF|TOP||ASCENDING|OMITTED|TRUE|ASSIGN|ON|TYPE|AT|OPEN|UNIT|AUTHOR|OR|UNTIL|BEFORE|OTHER|UP|BLANK|OUTPUT|USE|BLOCK|PAGE|USING|BOTTOM|PERFORM|VALUE|BY|PIC|VALUES|CALL|PICTURE|WHEN|CANCEL|PLUS|WITH|CD|POINTER|WRITE|CHARACTER|POSITION||ZERO|CLOSE|POSITIVE|ZEROS|COLUMN|PROCEDURE|ZEROES|COMMA|PROGRAM|COMMON|PROGRAM-ID|COMMUNICATION|QUOTE|COMP|RANDOM|COMPUTE|READ|CONTAINS|RECEIVE|CONFIGURATION|RECORD|CONTINUE|REDEFINES|CONTROL|REFERENCE|COPY|REMAINDER|COUNT|REPLACE|DATA|REPORT|DATE|RESERVE|DAY|RESET|DELETE|RETURN|DESTINATION|REWIND|DISABLE|REWRITE|DISPLAY|RIGHT|DIVIDE|RUN|DOWN|SAME|ELSE|SEARCH|ENABLE|SECTION|END|SELECT|ENVIRONMENT|SENTENCE|EQUAL|SET|ERROR|SIGN|EXIT|SEQUENTIAL|EXTERNAL|SIZE|FLASE|SORT|FILE|SOURCE|LENGTH|SPACE|LESS|STANDARD|LIMIT|START|LINE|STOP|LOCK|STRING|LOW-VALUE|SUBTRACT",e="true|false|null",T="count|min|max|avg|sum|rank|now|coalesce|main",R=this.createKeywordMapper({"support.function":T,keyword:E,"constant.language":e},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\*.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:R,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};R.inherits(A,t),e.CobolHighlightRules=A}),ace.define("ace/mode/cobol",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/cobol_highlight_rules","ace/range"],function(E,e,T){"use strict";var R=E("../lib/oop"),t=E("./text").Mode,A=E("./cobol_highlight_rules").CobolHighlightRules,o=E("../range").Range,O=function(){this.HighlightRules=A};R.inherits(O,t),function(){this.lineCommentStart="*",this.$id="ace/mode/cobol"}.call(O.prototype),e.Mode=O});
|
1
public/libs/ace/ck/mode-coffee-min.js
vendored
1
public/libs/ace/ck/mode-coffee-min.js
vendored
File diff suppressed because one or more lines are too long
2
public/libs/ace/ck/mode-coldfusion-min.js
vendored
2
public/libs/ace/ck/mode-coldfusion-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-csharp-min.js
vendored
1
public/libs/ace/ck/mode-csharp-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-css-min.js
vendored
1
public/libs/ace/ck/mode-css-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-d-min.js
vendored
1
public/libs/ace/ck/mode-d-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-dart-min.js
vendored
1
public/libs/ace/ck/mode-dart-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-diff-min.js
vendored
1
public/libs/ace/ck/mode-diff-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/diff_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,i,t){"use strict";var n=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{regex:"^(?:\\*{15}|={67}|-{3}|\\+{3})$",token:"punctuation.definition.separator.diff",name:"keyword"},{regex:"^(@@)(\\s*.+?\\s*)(@@)(.*)$",token:["constant","constant.numeric","constant","comment.doc.tag"]},{regex:"^(\\d+)([,\\d]+)(a|d|c)(\\d+)([,\\d]+)(.*)$",token:["constant.numeric","punctuation.definition.range.diff","constant.function","constant.numeric","punctuation.definition.range.diff","invalid"],name:"meta."},{regex:"^(\\-{3}|\\+{3}|\\*{3})( .+)$",token:["constant.numeric","meta.tag"]},{regex:"^([!+>])(.*?)(\\s*)$",token:["support.constant","text","invalid"]},{regex:"^([<\\-])(.*?)(\\s*)$",token:["support.function","string","invalid"]},{regex:"^(diff)(\\s+--\\w+)?(.+?)( .+)?$",token:["variable","variable","keyword","variable"]},{regex:"^Index.+$",token:"variable"},{regex:"^\\s+$",token:"text"},{regex:"\\s*$",token:"invalid"},{defaultToken:"invisible",caseInsensitive:!0}]}};n.inherits(r,o),i.DiffHighlightRules=r}),ace.define("ace/mode/folding/diff",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,i,t){"use strict";var n=e("../../lib/oop"),o=e("./fold_mode").FoldMode,r=e("../../range").Range,a=i.FoldMode=function(e,i){this.regExpList=e,this.flag=i,this.foldingStartMarker=RegExp("^("+e.join("|")+")",this.flag)};n.inherits(a,o),function(){this.getFoldWidgetRange=function(e,i,t){for(var n=e.getLine(t),o={row:t,column:n.length},a=this.regExpList,d=1;d<=a.length;d++){var l=RegExp("^("+a.slice(0,d).join("|")+")",this.flag);if(l.test(n))break}for(var s=e.getLength();++t<s&&(n=e.getLine(t),!l.test(n)););return t!=o.row+1?r.fromPoints(o,{row:t-1,column:n.length}):void 0}}.call(a.prototype)}),ace.define("ace/mode/diff",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/diff_highlight_rules","ace/mode/folding/diff"],function(e,i,t){"use strict";var n=e("../lib/oop"),o=e("./text").Mode,r=e("./diff_highlight_rules").DiffHighlightRules,a=e("./folding/diff").FoldMode,d=function(){this.HighlightRules=r,this.foldingRules=new a(["diff","index","\\+{3}","@@|\\*{5}"],"i")};n.inherits(d,o),function(){this.$id="ace/mode/diff"}.call(d.prototype),i.Mode=d});
|
2
public/libs/ace/ck/mode-django-min.js
vendored
2
public/libs/ace/ck/mode-django-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-dot-min.js
vendored
1
public/libs/ace/ck/mode-dot-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-eiffel-min.js
vendored
1
public/libs/ace/ck/mode-eiffel-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/eiffel_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){var e="across|agent|alias|all|attached|as|assign|attribute|check|class|convert|create|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|Precursor|redefine|rename|require|rescue|retry|select|separate|some|then|undefine|until|variant|when",t="and|implies|or|xor",r="Void",n="True|False",o="Current|Result",i=this.createKeywordMapper({"constant.language":r,"constant.language.boolean":n,"variable.language":o,"keyword.operator":t,keyword:e},"identifier",!0);this.$rules={start:[{token:"comment.line.double-dash",regex:/--.*$/},{token:"string.quoted.double",regex:/"(?:%"|[^%])*?"/},{token:"string.quoted.other",regex:/"\[/,next:"aligned_verbatim_string"},{token:"string.quoted.other",regex:/"\{/,next:"non-aligned_verbatim_string"},{token:"constant.character",regex:/'(?:%%|%T|%R|%N|%F|%'|[^%])'/},{token:"constant.numeric",regex:/(?:\d(?:_?\d)*\.|\.\d)(?:\d*[eE][+-]?\d+)?\b/},{token:"constant.numeric",regex:/\d(?:_?\d)*\b/},{token:"constant.numeric",regex:/0[xX][a-fA-F\d](?:_?[a-fA-F\d])*\b/},{token:"constant.numeric",regex:/0[cC][0-7](?:_?[0-7])*\b/},{token:"constant.numeric",regex:/0[bB][01](?:_?[01])*\b/},{token:"keyword.operator",regex:/\+|\-|\*|\/|\\\\|\/\/|\^|~|\/~|<|>|<=|>=|\/=|=|:=|\|\.\.\||\.\./},{token:"keyword.operator",regex:/\.|:|,|;\b/},{token:function(e){var t=i(e);return"identifier"===t&&e===e.toUpperCase()&&(t="entity.name.type"),t},regex:/[a-zA-Z][a-zA-Z\d_]*\b/},{token:"paren.lparen",regex:/[\[({]/},{token:"paren.rparen",regex:/[\])}]/},{token:"text",regex:/\s+/}],aligned_verbatim_string:[{token:"string",regex:/]"/,next:"start"},{token:"string",regex:/[^(?:\]")]+/}],"non-aligned_verbatim_string":[{token:"string.quoted.other",regex:/}"/,next:"start"},{token:"string.quoted.other",regex:/[^(?:\}")]+/}]}};n.inherits(i,o),t.EiffelHighlightRules=i}),ace.define("ace/mode/eiffel",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/eiffel_highlight_rules","ace/range"],function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("./text").Mode,i=e("./eiffel_highlight_rules").EiffelHighlightRules,a=e("../range").Range,s=function(){this.HighlightRules=i};n.inherits(s,o),function(){this.lineCommentStart="--",this.$id="ace/mode/eiffel"}.call(s.prototype),t.Mode=s});
|
2
public/libs/ace/ck/mode-ejs-min.js
vendored
2
public/libs/ace/ck/mode-ejs-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-erlang-min.js
vendored
1
public/libs/ace/ck/mode-erlang-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-ftl-min.js
vendored
1
public/libs/ace/ck/mode-ftl-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-gcode-min.js
vendored
1
public/libs/ace/ck/mode-gcode-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/gcode_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,o){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,n=function(){var e="IF|DO|WHILE|ENDWHILE|CALL|ENDIF|SUB|ENDSUB|GOTO|REPEAT|ENDREPEAT|CALL",t="PI",o="ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN",r=this.createKeywordMapper({"support.function":o,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\(.*\\)"},{token:"comment",regex:"([N])([0-9]+)"},{token:"string",regex:"([G])([0-9]+\\.?[0-9]?)"},{token:"string",regex:"([M])([0-9]+\\.?[0-9]?)"},{token:"constant.numeric",regex:"([-+]?([0-9]*\\.?[0-9]+\\.?))|(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)"},{token:r,regex:"[A-Z]"},{token:"keyword.operator",regex:"EQ|LT|GT|NE|GE|LE|OR|XOR"},{token:"paren.lparen",regex:"[\\[]"},{token:"paren.rparen",regex:"[\\]]"},{token:"text",regex:"\\s+"}]}};r.inherits(n,i),t.GcodeHighlightRules=n}),ace.define("ace/mode/gcode",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gcode_highlight_rules","ace/range"],function(e,t,o){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,n=e("./gcode_highlight_rules").GcodeHighlightRules,g=e("../range").Range,c=function(){this.HighlightRules=n};r.inherits(c,i),function(){this.$id="ace/mode/gcode"}.call(c.prototype),t.Mode=c});
|
1
public/libs/ace/ck/mode-gherkin-min.js
vendored
1
public/libs/ace/ck/mode-gherkin-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/gherkin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var i=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,o="\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})",g=function(){this.$rules={start:[{token:"constant.numeric",regex:"(?:(?:[1-9]\\d*)|(?:0))"},{token:"comment",regex:"#.*$"},{token:"keyword",regex:"Feature:|Background:|Scenario:|Scenario Outline:|Examples:|Given|When|Then|And|But|\\*"},{token:"string",regex:'"{3}',next:"qqstring3"},{token:"string",regex:'"',next:"qqstring"},{token:"comment",regex:"@[A-Za-z0-9]+",next:"start"},{token:"comment",regex:"<.+>"},{token:"comment",regex:"\\| ",next:"table-item"},{token:"comment",regex:"\\|$",next:"start"}],qqstring3:[{token:"constant.language.escape",regex:o},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:o},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],"table-item":[{token:"string",regex:"[A-Za-z0-9 ]*",next:"start"}]}};i.inherits(g,r),t.GherkinHighlightRules=g}),ace.define("ace/mode/gherkin",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gherkin_highlight_rules"],function(e,t,n){var i=e("../lib/oop"),r=e("./text").Mode,o=e("./gherkin_highlight_rules").GherkinHighlightRules,g=function(){this.HighlightRules=o};i.inherits(g,r),function(){this.lineCommentStart="#",this.$id="ace/mode/gherkin",this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t),r=" ",o=this.getTokenizer().getLineTokens(t,e),g=o.tokens;return console.log(e),t.match("[ ]*\\|")&&(i+="| "),g.length&&"comment"==g[g.length-1].type?i:("start"==e&&(t.match("Scenario:|Feature:|Scenario Outline:|Background:")?i+=r:t.match("(Given|Then).+(:)$|Examples:")?i+=r:t.match("\\*.+")&&(i+="* ")),i)}}.call(g.prototype),t.Mode=g});
|
1
public/libs/ace/ck/mode-gitignore-min.js
vendored
1
public/libs/ace/ck/mode-gitignore-min.js
vendored
@ -1 +0,0 @@
|
||||
ace.define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,i,t){"use strict";var o=e("../lib/oop"),g=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};r.metaData={fileTypes:["gitignore"],name:"Gitignore"},o.inherits(r,g),i.GitignoreHighlightRules=r}),ace.define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,i,t){"use strict";var o=e("../lib/oop"),g=e("./text").Mode,r=e("./gitignore_highlight_rules").GitignoreHighlightRules,l=function(){this.HighlightRules=r};o.inherits(l,g),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(l.prototype),i.Mode=l});
|
1
public/libs/ace/ck/mode-glsl-min.js
vendored
1
public/libs/ace/ck/mode-glsl-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-golang-min.js
vendored
1
public/libs/ace/ck/mode-golang-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-groovy-min.js
vendored
1
public/libs/ace/ck/mode-groovy-min.js
vendored
File diff suppressed because one or more lines are too long
1
public/libs/ace/ck/mode-haml-min.js
vendored
1
public/libs/ace/ck/mode-haml-min.js
vendored
File diff suppressed because one or more lines are too long
2
public/libs/ace/ck/mode-handlebars-min.js
vendored
2
public/libs/ace/ck/mode-handlebars-min.js
vendored
File diff suppressed because one or more lines are too long
0
public/libs/ace/mode-rdoc.js
Executable file → Normal file
0
public/libs/ace/mode-rdoc.js
Executable file → Normal file
0
public/libs/ace/mode-sass.js
Executable file → Normal file
0
public/libs/ace/mode-sass.js
Executable file → Normal file
0
public/libs/ace/mode-space.js
Executable file → Normal file
0
public/libs/ace/mode-space.js
Executable file → Normal file
631
public/libs/md2html/md2html.js
Normal file
631
public/libs/md2html/md2html.js
Normal file
File diff suppressed because one or more lines are too long
34
public/libs/md2html/uml.js
Normal file
34
public/libs/md2html/uml.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user