CoreFiles by mySites.guru
continuelist.min.js1 lines, 1,360 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
e1f9625f01f9b8913945fdeb110491d5
sha1
5e57057c42e34e6fd71c477d400453f962e7329c
sha256
d60a77f9d53a7bfe3a7211c409645ccac07c93b83636bef0328fb03393b3eebb
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var n=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,t=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,i=/[*+-]\s/;function r(e,t){var i=t.line,r=0,l=0,s=n.exec(e.getLine(i)),c=s[1];do{var o=i+(r+=1),a=e.getLine(o),d=n.exec(a);if(d){var f=d[1],p=parseInt(s[3],10)+r-l,u=parseInt(d[3],10),h=u;if(c===f)p===u&&(h=u+1),p>u&&(h=p+1),e.replaceRange(a.replace(n,f+h+d[4]+d[5]),{line:o,ch:0},{line:o,ch:a.length});else{if(c.length>f.length)return;if(c.length<f.length&&1===r)return;l+=1}}}while(d)}e.commands.newlineAndIndentContinueMarkdownList=function(l){if(l.getOption("disableInput"))return e.Pass;for(var s=l.listSelections(),c=[],o=0;o<s.length;o++){var a=s[o].head,d=l.getStateAfter(a.line),f=!1!==d.list,p=0!==d.quote,u=l.getLine(a.line),h=n.exec(u),g=/^\s*$/.test(u.slice(0,a.ch));if(!s[o].empty()||!f&&!p||!h||g)return void l.execCommand("newlineAndIndent");if(t.test(u))/>\s*$/.test(u)||l.replaceRange("",{line:a.line,ch:0},{line:a.line,ch:a.ch+1}),c[o]="\n";else{var m=h[1],x=h[5],v=!(i.test(h[2])||h[2].indexOf(">")>=0),I=v?parseInt(h[3],10)+1+h[4]:h[2].replace("x"," ");c[o]="\n"+m+I+x,v&&r(l,a)}}l.replaceSelections(c)}});

The same content is in 2 releases, Joomla 4.0.0-alpha3 to 4.0.0-alpha5. See them all, or every version of this file.