forked from mystiq/hydrogen-web
disable this for now as sync is not an EventEmitter anymore
This commit is contained in:
parent
e080bf28a7
commit
0424ffe231
1 changed files with 2 additions and 2 deletions
|
@ -18,13 +18,13 @@ export class SyncStatusViewModel extends EventEmitter {
|
||||||
|
|
||||||
onFirstSubscriptionAdded(name) {
|
onFirstSubscriptionAdded(name) {
|
||||||
if (name === "change") {
|
if (name === "change") {
|
||||||
this._sync.on("status", this._onStatus);
|
//this._sync.status.("status", this._onStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onLastSubscriptionRemoved(name) {
|
onLastSubscriptionRemoved(name) {
|
||||||
if (name === "change") {
|
if (name === "change") {
|
||||||
this._sync.on("status", this._onStatus);
|
//this._sync.status.("status", this._onStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue