mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Remove more unused Knockout code
This commit is contained in:
parent
07857a06a9
commit
ac535b1d03
14 changed files with 155 additions and 355 deletions
|
|
@ -166,10 +166,9 @@ var ko_subscribable_fn = {
|
|||
return this._subscriptions[event] && this._subscriptions[event].length || 0;
|
||||
}
|
||||
var total = 0;
|
||||
ko.utils.objectForEach(this._subscriptions, (eventName, subscriptions) => {
|
||||
if (eventName !== 'dirty')
|
||||
total += subscriptions.length;
|
||||
});
|
||||
ko.utils.objectForEach(this._subscriptions, (eventName, subscriptions) =>
|
||||
total += subscriptions.length
|
||||
);
|
||||
return total;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue