CoreFiles by mySites.guru
keepalive.es6.min.js1 lines, 578 bytes, from Joomla_4.0.0-beta4-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta3
md5
c966c72455c5b7bb234857b72ccc7f04
sha1
3196114048075fb65b225d693419eb8cef04e247
sha256
f5421b77f41f16f1efcc8e090088ceb2f2aad5792b6110584ca695fcae49aa3f
((a,b)=>{'use strict';const c=a=>{b.request({url:a})},d=()=>{if(!b||"function"!=typeof b.getOptions&&"function"!=typeof b.request)throw new Error("core.js was not properly initialised");const e=b.getOptions("system.keepalive"),f=e&&e.interval?parseInt(e.interval,10):45000;let g=e&&e.uri?e.uri.replace(/&/g,"&"):"";if(""===g){const a=b.getOptions("system.paths");g=`${a?`${a.root}/index.php`:window.location.pathname}?option=com_ajax&format=json`}setInterval(c,f,g),a.removeEventListener("DOMContentLoaded",d)};a.addEventListener("DOMContentLoaded",d,!0)})(document,Joomla);

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.