CoreFiles by mySites.guru
admin-compare-compare.min.js1 lines, 728 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
08bb63e0940ec66fd6ed8b5c942aed0e
sha1
da35a050bb0db8e646fc3f70a62c9d6e7aa70aa4
sha256
003510ad33ace0a19970aafed3d594b5c92683cfc795586e733f913a07f7dae9
(function(){'use strict';var a=function(a){var b=document.createElement("textarea");return b.innerHTML=a,b.value},b=function(b,c){var d=c.nextElementSibling,e=window.Diff.diffWords(b.innerHTML,c.innerHTML),f=document.createDocumentFragment();e.forEach(function(b){var c="";b.added&&(c="#a6f3a6"),b.removed&&(c="#f8cbcb");var 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=function(){var a=[].slice.call(document.querySelectorAll(".original"));a.forEach(function(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.