Skip to content

Commit

Permalink
Remove external window so consumers don't need to include it as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
eightypop committed Oct 12, 2015
1 parent 281c111 commit db2251f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/switcheroo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/components/Switcher.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {Component} from 'react';
import {ensureTrailingSlash} from 'helpers';
import window from 'window';

export default class Switcher extends Component {
static displayName = 'Switcher';
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ module.exports = {
commonjs2: "react",
commonjs: "react",
amd: "react"
},
"window": "window"
}
}
],
plugins: [
Expand Down

0 comments on commit db2251f

Please sign in to comment.