Skip to content

Commit 7634e71

Browse files
lusarzjohnjbarton
authored andcommittedOct 15, 2018
fix(browser): emit 'browsers_change' in collection (#3183)
1 parent e811adb commit 7634e71

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎lib/browser.js

-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class Browser {
3737

3838
this.bindSocketEvents(this.socket)
3939
this.collection.add(this)
40-
this.emitter.emit('browsers_change', this.collection) // TODO(vojta): move to collection
4140
this.emitter.emit('browser_register', this)
4241
}
4342

@@ -128,7 +127,6 @@ class Browser {
128127
this.state = CONNECTED
129128

130129
this.collection.add(this)
131-
this.emitter.emit('browsers_change', this.collection) // TODO(vojta): move to collection
132130
this.emitter.emit('browser_register', this)
133131
}
134132

0 commit comments

Comments
 (0)
Please sign in to comment.