CoreFiles by mySites.guru
admin-compare-compare.es6.min.js1 lines, 696 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
5af6f09f0b0f93ed981cecde10819b31
sha1
5eac56a34fdf8cc8a008f87154accd55da08b5c5
sha256
9ad5561dc188a6646275b3e7959badd00f2ec2f0dfe594bff4e6971721a70f75
(()=>{'use strict';const a=a=>{const b=document.createElement("textarea");return b.innerHTML=a,b.value},b=(b,c)=>{const d=c.nextElementSibling,e=window.Diff.diffWords(b.innerHTML,c.innerHTML),f=document.createDocumentFragment();e.forEach(b=>{let c="";b.added&&(c="#a6f3a6"),b.removed&&(c="#f8cbcb");const d=document.createElement("span");d.style.backgroundColor=c,d.style.borderRadius=".2rem",d.appendChild(document.createTextNode(a(b.value))),f.appendChild(d)}),d.appendChild(f)},c=()=>{const a=[].slice.call(document.querySelectorAll(".original"));a.forEach(a=>{b(a,a.nextElementSibling)}),document.removeEventListener("DOMContentLoaded",c)};document.addEventListener("DOMContentLoaded",c)})();

The same content is in 7 releases, Joomla 4.0.0-beta to 4.0.0-beta7. See them all, or every version of this file.