More ko.computed to pureComputed

This commit is contained in:
djmaze 2021-12-31 17:02:32 +01:00
parent a15454fd15
commit 679d7356e0
8 changed files with 46 additions and 50 deletions

2
dev/External/ko.js vendored
View file

@ -8,7 +8,7 @@ import { arrayLength, isFunction } from 'Common/Utils';
* number of evaluations or other hidden information. Its value should be
* based solely on the values of other observables in the application
*/
export const koComputable = ko.pureComputed;
export const koComputable = fn => ko.computed(fn, {'pure':true});
ko.bindingHandlers.tooltipErrorTip = {
init: (element, fValueAccessor) => {