Skip to content

Commit

Permalink
Remove stray toString directly on Window
Browse files Browse the repository at this point in the history
This was forgotten in 9d0c03e.
  • Loading branch information
domenic committed Apr 29, 2017
1 parent 9d0c03e commit 1f488ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/jsdom/browser/Window.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,11 +473,7 @@ function Window(options) {
resizeTo: notImplementedMethod("window.resizeTo"),
scroll: notImplementedMethod("window.scroll"),
scrollBy: notImplementedMethod("window.scrollBy"),
scrollTo: notImplementedMethod("window.scrollTo"),

toString: () => {
return "[object Window]";
}
scrollTo: notImplementedMethod("window.scrollTo")
});

///// INITIALIZATION
Expand Down

0 comments on commit 1f488ec

Please sign in to comment.