Skip to content

Commit

Permalink
Address further linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
greena13 committed Mar 24, 2017
1 parent 43b1768 commit 77a360a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/sinon/util/fake_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ function getWindowLocation() {
if (typeof window.location !== "undefined") {
// Browsers place location on window
return window.location;
} else if((typeof window.window !== "undefined") && (typeof window.window.location !== "undefined")) {
} else if ((typeof window.window !== "undefined") && (typeof window.window.location !== "undefined")) {
// React Native on Android places location on window.window
return window.window.location;
} else {
return getDefaultWindowLocation();
}

return getDefaultWindowLocation();
}

// Fallback
Expand Down

0 comments on commit 77a360a

Please sign in to comment.