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 authored and rondale-sc committed Jan 24, 2019
1 parent bb400b2 commit fa4b2d3
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 fa4b2d3

Please sign in to comment.