mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-21 09:03:23 +02:00
19e0f5d3dd
Rebuilt from pyMC-RepeaterUI dev branch — includes unscoped flood policy UI changes (rename from global flood, updated API endpoint and labels).
1 line
306 B
JavaScript
1 line
306 B
JavaScript
var e=`pymc_pref_`;function t(t,n){try{let r=localStorage.getItem(e+t);return r===null?n:JSON.parse(r)}catch(e){return console.warn(`Failed to get preference ${t}:`,e),n}}function n(t,n){try{localStorage.setItem(e+t,JSON.stringify(n))}catch(e){console.warn(`Failed to set preference ${t}:`,e)}}export{n,t}; |