mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
More ko.computed to pureComputed
This commit is contained in:
parent
a15454fd15
commit
679d7356e0
8 changed files with 46 additions and 50 deletions
2
dev/External/ko.js
vendored
2
dev/External/ko.js
vendored
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue