mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Replace timeOutAction() with debounce
Replace delegateRun() Revert my throttle/debounce setTimeout() to Function.prototype[throttle/debounce]
This commit is contained in:
parent
f6a55898c7
commit
97a73c6639
28 changed files with 225 additions and 372 deletions
|
|
@ -94,7 +94,7 @@ export function i18n(key, valueList, defaulValue) {
|
|||
result = undefined === defaulValue ? key : defaulValue;
|
||||
}
|
||||
|
||||
if (undefined !== valueList && null !== valueList) {
|
||||
if (null != valueList) {
|
||||
for (valueName in valueList) {
|
||||
if (Object.prototype.hasOwnProperty.call(valueList, valueName)) {
|
||||
result = result.replace('%' + valueName + '%', valueList[valueName]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue