mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
Move Whisper.events out of views and tests
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
|
||||
window.addEventListener('online', this.update.bind(this));
|
||||
window.addEventListener('offline', this.update.bind(this));
|
||||
Whisper.events.on('unauthorized', this.update, this);
|
||||
Whisper.events.on('reconnectTimer', this.onReconnectTimer, this);
|
||||
|
||||
this.model = new Backbone.Model();
|
||||
this.listenTo(this.model, 'change', this.onChange);
|
||||
|
||||
Reference in New Issue
Block a user