mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
notifySubscribers and equalityComparer are not used outside KnockoutJS
This commit is contained in:
parent
679d7356e0
commit
30e9b89d9b
9 changed files with 113 additions and 114 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue