CoreFiles by mySites.guru
indent-fold.min.js1 lines, 575 bytes, from Joomla_3.4.5-Stable-Full_Package.zip
Raw History Compare with 3.4.4
md5
c5dc3618f1445291b6dc9fe0684f7ca1
sha1
c9daff240caaf3decd2e5632a5ae5ce04a2239a6
sha256
333b8028d9219360cc3bd93741b44cbcaf40ac67c5d4e1e896e4e06d8bfcf277
!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();j>=i;++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 40 releases, Joomla 3.4.2-rc to 3.6.5. See them all, or every version of this file.