notifySubscribers and equalityComparer are not used outside KnockoutJS

This commit is contained in:
djmaze 2021-12-31 17:10:40 +01:00
parent 679d7356e0
commit 30e9b89d9b
9 changed files with 113 additions and 114 deletions

View file

@ -31,9 +31,9 @@
if (completedAsync) {
// Note that notifySubscribers ignores any dependencies read within the callback.
// See comment in loaderRegistryBehaviors.js for reasoning
subscribable['notifySubscribers'](definition);
subscribable.notifySubscribers(definition);
} else {
ko.tasks.schedule(() => subscribable['notifySubscribers'](definition));
ko.tasks.schedule(() => subscribable.notifySubscribers(definition));
}
});
completedAsync = true;