mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Small code cleanups and fix translations
This commit is contained in:
parent
b31bf3d7f5
commit
7ccc44616d
54 changed files with 288 additions and 426 deletions
3
dev/External/ko.js
vendored
3
dev/External/ko.js
vendored
|
|
@ -1,8 +1,7 @@
|
|||
import { i18n, i18nToNodes, trigger } from 'Common/Translator';
|
||||
import { dropdownVisibility } from 'Common/Globals';
|
||||
import { doc, dropdownVisibility } from 'Common/Globals';
|
||||
|
||||
const
|
||||
doc = document,
|
||||
isFunction = v => typeof v === 'function',
|
||||
koValue = value => !ko.isObservable(value) && isFunction(value) ? value() : ko.unwrap(value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue