Skip to content

Commit

Permalink
Remove spread argument that is causing IE11 test failure
Browse files Browse the repository at this point in the history
 Getting this issue: babel/babel#9277
 Which may be fixed when this PR is merged: babel/babel#8947
  • Loading branch information
iezer committed Jan 10, 2019
1 parent cb74236 commit 5458984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/editor/selection-change-observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ class SelectionChangeObserver {
this.selection = {};
}

notifyListeners(/* newSelection, prevSelection */) {
notifyListeners(newSelection, prevSelection) {
this.listeners.forEach(listener => {
listener.selectionDidChange(...arguments);
listener.selectionDidChange(newSelection, prevSelection);
});
}

Expand Down

0 comments on commit 5458984

Please sign in to comment.