Use JavaScript Optional chaining in vendors/*

This commit is contained in:
the-djmaze 2022-09-12 22:07:51 +02:00
parent e5e4675c1b
commit ef8b1f40e4
28 changed files with 619 additions and 750 deletions

View file

@ -34,11 +34,11 @@ ko.dependencyDetection = {
}
},
getDependenciesCount: () => currentFrame && currentFrame.computed.getDependenciesCount(),
getDependenciesCount: () => currentFrame?.computed.getDependenciesCount(),
isInitial: () => currentFrame && currentFrame.isInitial,
isInitial: () => currentFrame?.isInitial,
computed: () => currentFrame && currentFrame.computed
computed: () => currentFrame?.computed
};
})();