Skip to content

Commit

Permalink
Blacklist confusing global variables (facebook#2130)
Browse files Browse the repository at this point in the history
* Blacklist confusing global variables

* Blacklist globals

* Fix kitchensink test to lint

* Edit the list

* Use no-restricted globals for this
  • Loading branch information
sidoshi authored and gaearon committed May 14, 2017
1 parent 87d3d75 commit 81196d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixtures/kitchensink/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class App extends Component {
}

componentDidMount() {
const feature = location.hash.slice(1);
const feature = window.location.hash.slice(1);
switch (feature) {
case 'array-destructuring':
import(
Expand Down

0 comments on commit 81196d1

Please sign in to comment.