Replace timeOutAction() with debounce

Replace delegateRun()
Revert my throttle/debounce setTimeout() to Function.prototype[throttle/debounce]
This commit is contained in:
djmaze 2020-08-18 20:24:17 +02:00
parent f6a55898c7
commit 97a73c6639
28 changed files with 225 additions and 372 deletions

View file

@ -9,7 +9,7 @@ APP_SETTINGS = null != APP_SETTINGS ? APP_SETTINGS : {};
* @returns {*}
*/
export function settingsGet(name) {
return undefined === SETTINGS[name] ? null : SETTINGS[name];
return null == SETTINGS[name] ? null : SETTINGS[name];
}
/**
@ -25,7 +25,7 @@ export function settingsSet(name, value) {
* @returns {*}
*/
export function appSettingsGet(name) {
return undefined === APP_SETTINGS[name] ? null : APP_SETTINGS[name];
return null == APP_SETTINGS[name] ? null : APP_SETTINGS[name];
}
/**