From 7634e7145b4220123f317d652b3dd13bd12c32ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Usarz?= Date: Tue, 16 Oct 2018 01:40:46 +0200 Subject: [PATCH] fix(browser): emit 'browsers_change' in collection (#3183) --- lib/browser.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/browser.js b/lib/browser.js index 3bcfbe9c5..1301c93a5 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -37,7 +37,6 @@ class Browser { this.bindSocketEvents(this.socket) this.collection.add(this) - this.emitter.emit('browsers_change', this.collection) // TODO(vojta): move to collection this.emitter.emit('browser_register', this) } @@ -128,7 +127,6 @@ class Browser { this.state = CONNECTED this.collection.add(this) - this.emitter.emit('browsers_change', this.collection) // TODO(vojta): move to collection this.emitter.emit('browser_register', this) }