Skip to content

Commit

Permalink
fix(browser): emit 'browsers_change' in collection (#3183)
Browse files Browse the repository at this point in the history
  • Loading branch information
lusarz authored and johnjbarton committed Oct 15, 2018
1 parent e811adb commit 7634e71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit 7634e71

Please sign in to comment.