芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.2/com_contenthistory/js/admin-compare-compare-es5.min.js
!function(){"use strict";var e;e=function(e,n){var t=n.nextElementSibling,o=window.Diff.diffWords(e.innerHTML,n.innerHTML),a=document.createDocumentFragment();o.forEach((function(e){var n="";e.added&&(n="#a6f3a6"),e.removed&&(n="#f8cbcb");var t,o,d=document.createElement("span");d.style.backgroundColor=n,d.style.borderRadius=".2rem",d.appendChild(document.createTextNode((t=e.value,(o=document.createElement("textarea")).innerHTML=Joomla.sanitizeHtml(t),o.value))),a.appendChild(d)})),t.appendChild(a)},document.addEventListener("DOMContentLoaded",(function n(){[].slice.call(document.querySelectorAll(".original")).forEach((function(n){e(n,n.nextElementSibling)})),document.removeEventListener("DOMContentLoaded",n)}))}();