mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +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
|
|
@ -94,7 +94,7 @@
|
|||
// the context object.
|
||||
if (subscribable.isActive()) {
|
||||
// Always notify because even if the model ($data) hasn't changed, other context properties might have changed
|
||||
subscribable['equalityComparer'] = null;
|
||||
subscribable.equalityComparer = null;
|
||||
} else {
|
||||
self[contextSubscribable] = undefined;
|
||||
}
|
||||
|
|
@ -203,7 +203,7 @@
|
|||
if (bindingInfo) {
|
||||
bindingInfo.notifiedEvents[event] = true;
|
||||
if (bindingInfo.eventSubscribable) {
|
||||
bindingInfo.eventSubscribable['notifySubscribers'](node, event);
|
||||
bindingInfo.eventSubscribable.notifySubscribers(node, event);
|
||||
}
|
||||
if (event == ko.bindingEvent.childrenComplete) {
|
||||
if (bindingInfo.asyncContext) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue