CoreFiles by mySites.guru
indent-fold.min.js1 lines, 656 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
c7f1c6a21690d5384ac4d6dd376368e3
sha1
e8a78dfec25e73e41a47a8c14c497d0589a21147
sha256
4780f7bbfc3ae23c5981cb3f53ef9f07460793a09b7c4ecc4c1ea98917a75cf4
!(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";function b(b,c){var d=b.getLine(c),e=d.search(/\S/);return-1==e||/\bcomment\b/.test(b.getTokenTypeAt(a.Pos(c,e+1)))?-1:a.countColumn(d,null,b.getOption("tabSize"))}a.registerHelper("fold","indent",(function(c,d){var e=b(c,d.line);if(!(e<0)){for(var f=null,g=d.line+1,h=c.lastLine();g<=h;++g){var i=b(c,g);if(-1==i);else{if(!(i>e))break;f=g}}return f?{from:a.Pos(d.line,c.getLine(d.line).length),to:a.Pos(f,c.getLine(f).length)}:void 0}}))}));

The same content is in 56 releases, Joomla 3.9.19-rc to 3.10.12. See them all, or every version of this file.