Get rid of i18nInit and improve i18nUpdate

This commit is contained in:
the-djmaze 2022-04-05 10:31:55 +02:00
parent 5b3dfc26de
commit 48974d1b5a
6 changed files with 38 additions and 43 deletions

4
dev/External/ko.js vendored
View file

@ -80,10 +80,6 @@ Object.assign(ko.bindingHandlers, {
}
},
i18nInit: {
init: element => i18nToNodes(element)
},
i18nUpdate: {
update: (element, fValueAccessor) => {
ko.unwrap(fValueAccessor());