CoreFiles by mySites.guru
keepalive.es6.min.js1 lines, 577 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
badb337efc493206439117c20a3114f8
sha1
f1f622aa324616fbc69c440a0d88301842e1a73c
sha256
5d25a370a6307c41027a58d1b7c4b15b7499419ec53d051c7901405918a1f06d
((e,t)=>{"use strict";const o=e=>{t.request({url:e})},n=()=>{if(!t||"function"!=typeof t.getOptions&&"function"!=typeof t.request)throw new Error("core.js was not properly initialised");const i=t.getOptions("system.keepalive"),r=i&&i.interval?parseInt(i.interval,10):45e3;let s=i&&i.uri?i.uri.replace(/&/g,"&"):"";if(""===s){const e=t.getOptions("system.paths");s=`${e?`${e.root}/index.php`:window.location.pathname}?option=com_ajax&format=json`}setInterval(o,r,s),e.removeEventListener("DOMContentLoaded",n)};e.addEventListener("DOMContentLoaded",n,!0)})(document,Joomla);

The same content is in 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.