uawdijnntqw1x1x1
IP : 3.17.78.254
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
quran
/
..
/
src
/
js
/
mdb
/
dom
/
data.js
/
/
/** * -------------------------------------------------------------------------- * Bootstrap (v5.0.0-beta2): dom/data.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ const mapData = (() => { const storeData = {}; let id = 1; return { set(element, key, data) { if (typeof element[key] === 'undefined') { element[key] = { key, id, }; id++; } storeData[element[key].id] = data; }, get(element, key) { if (!element || typeof element[key] === 'undefined') { return null; } const keyProperties = element[key]; if (keyProperties.key === key) { return storeData[keyProperties.id]; } return null; }, delete(element, key) { if (typeof element[key] === 'undefined') { return; } const keyProperties = element[key]; if (keyProperties.key === key) { delete storeData[keyProperties.id]; delete element[key]; } }, }; })(); const Data = { setData(instance, key, data) { mapData.set(instance, key, data); }, getData(instance, key) { return mapData.get(instance, key); }, removeData(instance, key) { mapData.delete(instance, key); }, }; export default Data;
/home/sudancam/.trash/quran/../src/js/mdb/dom/data.js