CoreFiles by mySites.guru
indent-fold.min.js1 lines, 575 bytes, from Joomla_3.4.1-Stable-Full_Package.zip
Raw History Compare with 3.4.0
md5
f440b2258c7fb4f233f7d05e801bc518
sha1
c36dbd3b5dbbcb60a124614473b0d90c97e9e7d5
sha256
73a71ea7484173cbc1c6918a2a8b529462f400dbc4ed10e18eb428e0c50fb47f
!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";e.registerHelper("fold","indent",function(t,n){var i=t.getOption("tabSize"),o=t.getLine(n.line);if(/\S/.test(o)){for(var r=function(t){return e.countColumn(t,null,i)},f=r(o),l=null,u=n.line+1,c=t.lastLine();c>=u;++u){var d=t.getLine(u),s=r(d);if(s>f)l=u;else if(/\S/.test(d))break}return l?{from:e.Pos(n.line,o.length),to:e.Pos(l,t.getLine(l).length)}:void 0}})});

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