CoreFiles by mySites.guru
indent-fold.min.js1 lines, 581 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
560501a6c701c2f7adb083e5a520fe56
sha1
067f7c628f57ed1297a9ff499676f828f027f0ef
sha256
131fb88f900ee1997a813ef918fc1954299c4074590a62109283d6faf91b9632
!(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})((function(a){"use strict";a.registerHelper("fold","indent",(function(b,c){var d=b.getOption("tabSize"),e=b.getLine(c.line);if(/\S/.test(e)){for(var f=function(b){return a.countColumn(b,null,d)},g=f(e),h=null,i=c.line+1,j=b.lastLine();i<=j;++i){var k=b.getLine(i),l=f(k);if(l>g)h=i;else if(/\S/.test(k))break}return h?{from:a.Pos(c.line,e.length),to:a.Pos(h,b.getLine(h).length)}:void 0}}))}));

The same content is in 11 releases, Joomla 3.7.0-alpha1 to 3.7.0. See them all, or every version of this file.