CoreFiles by mySites.guru
admin-compare-compare.min.js4 lines, 855 bytes, from Joomla_4.4.2-Stable-Full_Package.zip
Raw History Compare with 4.4.1
md5
907a4032e1db0b538b4b4567f38d36e1
sha1
3a3f9134be7be982cf3705dd39b50dd47083cc06
sha256
df96012508d377f3ca1a4a07daaa8dd80d733b9ea83356d6be093828c68ee493
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(()=>{const i=n=>{const e=document.createElement("textarea");return e.innerHTML=Joomla.sanitizeHtml(n),e.value},l=(n,e)=>{const r=e.nextElementSibling,s=window.Diff.diffWords(n.innerHTML,e.innerHTML),a=document.createDocumentFragment();s.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(i(o.value))),a.appendChild(t)}),r.appendChild(a)},c=()=>{[].slice.call(document.querySelectorAll(".original")).forEach(e=>{l(e,e.nextElementSibling)}),document.removeEventListener("DOMContentLoaded",c)};document.addEventListener("DOMContentLoaded",c)})();

The same content is in 41 releases, Joomla 4.4.1-rc1 to 5.1.0-beta1. See them all, or every version of this file.