Skip to content

Commit

Permalink
Fixes CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattydoincode committed Oct 2, 2015
1 parent 4aba270 commit ef14a40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/components/createConnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export default function createConnect(React) {

return function wrapWithConnect(WrappedComponent) {
class Connect extends Component {


shouldComponentUpdate(nextProps, nextState) {
if (!pure) {
Expand Down Expand Up @@ -206,8 +205,8 @@ export default function createConnect(React) {
);
}
}
//adding properties in this way
//prevents ie8 from breaking
// adding properties in this way
// prevents ie8 from breaking
Connect.displayName = `Connect(${getDisplayName(WrappedComponent)})`;
Connect.WrappedComponent = WrappedComponent;

Expand Down
4 changes: 2 additions & 2 deletions src/components/createProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export default function createProvider(React) {
return Children.only(children);
}
}
//adding properties in this way
//prevents ie8 from breaking
// adding properties in this way
// prevents ie8 from breaking
Provider.childContextTypes = {
store: storeShape.isRequired
};
Expand Down

0 comments on commit ef14a40

Please sign in to comment.