CoreFiles by mySites.guru
admin-compare-compare.min.js4 lines, 838 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
a8bb660259ca38ed0e6ad3bfdc01448d
sha1
b104ebc1e7f2612edece45ad4f810de9b04fb9d6
sha256
5589b470b634ed66bb53d88ac0d9d4340f08619fd44582757974df0c3d6d17a6
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(()=>{const r=e=>{const n=document.createElement("textarea");return n.innerHTML=Joomla.sanitizeHtml(e),n.value},i=(e,n)=>{const l=n.nextElementSibling,m=window.Diff.diffWords(e.innerHTML,n.innerHTML),c=document.createDocumentFragment();m.forEach(o=>{let d="";o.added&&(d="#a6f3a6"),o.removed&&(d="#f8cbcb");const t=document.createElement("span");t.style.backgroundColor=d,t.style.borderRadius=".2rem",t.appendChild(document.createTextNode(r(o.value))),c.appendChild(t)}),l.appendChild(c)},a=()=>{document.querySelectorAll(".original").forEach(e=>i(e,e.nextElementSibling)),document.removeEventListener("DOMContentLoaded",a)};document.addEventListener("DOMContentLoaded",a)})();

The same content is in 132 releases, Joomla 5.1.0-beta2 to 6.2.0. See them all, or every version of this file.