玛氪宕·梦魔(Markdown Memo),使用Markdown的云端备忘录,百度IFE的RIA启航班的不合格的作业,才……才没有什么阴谋呢!
源gitee链接https://gitee.com/arathi/MarkdownMemo?_from=gitee_search
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
154 KiB
2 lines
154 KiB
10 years ago
|
/*! CodeMirror v4.12.0 | Copyright (C) 2014 by Marijn Haverbeke <marijnh@gmail.com> and others | MIT license: http://codemirror.net/LICENSE | https://github.com/codemirror/codemirror */
|
||
|
(function(a){if(typeof exports=="object"&&typeof module=="object"){module.exports=a()}else{if(typeof define=="function"&&define.amd){return define([],a)}else{this.CodeMirror=a()}}})(function(){var co=/gecko\/\d/i.test(navigator.userAgent);var eG=/MSIE \d/.test(navigator.userAgent);var bI=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);var dG=eG||bI;var k=dG&&(eG?document.documentMode||6:bI[1]);var cY=/WebKit\//.test(navigator.userAgent);var dJ=cY&&/Qt\/\d+\.\d+/.test(navigator.userAgent);var da=/Chrome\//.test(navigator.userAgent);var dY=/Opera\//.test(navigator.userAgent);var aA=/Apple Computer/.test(navigator.vendor);var a8=/KHTML\//.test(navigator.userAgent);var c5=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent);var fr=/PhantomJS/.test(navigator.userAgent);var eX=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent);var ec=eX||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent);var b6=eX||/Mac/.test(navigator.platform);var aM=/win/i.test(navigator.platform);var aV=dY&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);if(aV){aV=Number(aV[1])}if(aV&&aV>=15){dY=false;cY=true}var bP=b6&&(dJ||dY&&(aV==null||aV<12.11));var f0=co||(dG&&k>=9);var f3=false,a4=false;function I(f8,f9){if(!(this instanceof I)){return new I(f8,f9)}this.options=f9=f9?aK(f9):{};aK(eZ,f9,false);cd(f9);var gd=f9.value;if(typeof gd=="string"){gd=new ar(gd,f9.mode)}this.doc=gd;var gc=this.display=new eE(f8,gd);gc.wrapper.CodeMirror=this;d8(this);cM(this);if(f9.lineWrapping){this.display.wrapper.className+=" CodeMirror-wrap"}if(f9.autofocus&&!ec){ev(this)}aB(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:false,focused:false,suppressEdits:false,pasteIncoming:false,cutIncoming:false,draggingText:false,highlight:new f7(),keySeq:null};if(dG&&k<11){setTimeout(cv(fl,this,true),20)}fM(this);bg();cG(this);this.curOp.forceUpdate=true;d7(this,gd);if((f9.autofocus&&!ec)||dK()==gc.input){setTimeout(cv(cA,this),20)}else{aS(this)}for(var gb in bc){if(bc.hasOwnProperty(gb)){bc[gb](this,f9[gb],cb)}}d1(this);for(var ga=0;ga<a5.length;++ga){a5[ga](this)}al(this);if(cY&&f9.lineWrapping&&getComputedStyle(gc.lineDiv).textRendering=="optimizelegibility"){gc.lineDiv.style.textRendering="auto"}}function eE(f8,ga){var gb=this;var f9=gb.input=fT("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none");if(cY){f9.style.width="1000px"}else{f9.setAttribute("wrap","off")}if(eX){f9.style.border="1px solid black"}f9.setAttribute("autocorrect","off");f9.setAttribute("autocapitalize","off");f9.setAttribute("spellcheck","false");gb.inputDiv=fT("div",[f9],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");gb.scrollbarFiller=fT("div",null,"CodeMirror-scrollbar-filler");gb.scrollbarFiller.setAttribute("not-content","true");gb.gutterFiller=fT("div",null,"CodeMirror-gutter-filler");gb.gutterFiller.setAttribute("not-content","true");gb.lineDiv=fT("div",null,"CodeMirror-code");gb.selectionDiv=fT("div",null,null,"position: relative; z-index: 1");gb.cursorDiv=fT("div",null,"CodeMirror-cursors");gb.measure=fT("div",null,"CodeMirror-measure");gb.lineMeasure=fT("div",null,"CodeMirror-measure");gb.lineSpace=fT("div",[gb.measure,gb.lineMeasure,gb.selectionDiv,gb.cursorDiv,gb.lineDiv],null,"position: relative; outline: none");gb.mover=fT("div",[fT("div",[gb.lineSpace],"CodeMirror-lines")],null,"position: relative");gb.sizer=fT("div",[gb.mover],"CodeMirror-sizer");gb.sizerWidth=null;gb.heightForcer=fT("div",null,null,"position: absolute; height: "+dF+"px; width: 1px;");gb.gutters=fT("div",null,"CodeMirror-gutters");gb.lineGutter=null;gb.scroller=fT("div",[gb.sizer,gb.heightForcer,gb.gutters],"CodeMirror-scroll");gb.scroller.setAttribute("tabIndex","-1");gb.wrapper=fT("div",[gb.inputDiv,gb.scrollbarFiller,gb.gutterFiller,gb.scroller],"CodeMirror");if(dG&&k<8){gb.gutters.style.zIndex=-1;gb.scroller.style.paddingRight=0}if(eX){f9.style.width="0px"}if(!cY){gb.scroller.draggable=true}if(a8){gb.inputDiv.style.height="1px";gb.inputDiv.style.position="absol
|