fix all linting errors

This commit is contained in:
catarak 2016-06-27 17:22:54 -04:00
parent c9a3b5b6c8
commit cfd4d998cf
3 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,7 @@ class App extends React.Component {
}
componentDidMount() {
this.setState({ isMounted: true }); // eslint-disable-line no-did-mount-set-state
this.setState({ isMounted: true }); // eslint-disable-line react/no-did-mount-set-state
}
render() {

View file

@ -49,7 +49,7 @@ class PreviewFrame extends React.Component {
renderFrameContents() {
const doc = ReactDOM.findDOMNode(this).contentDocument;
if (doc.readyState === 'complete') {
renderSketch();
this.renderSketch();
} else {
setTimeout(this.renderFrameContents, 0);
}

View file

@ -33,7 +33,8 @@ function Toolbar(props) {
<div className="toolbar__project-name-container">
<span
className="toolbar__project-name"
onBlur={props.setProjectName.bind(this)}
// TODO change this span into an input
onBlur={props.setProjectName.bind(this)} // eslint-disable-line
contentEditable
suppressContentEditableWarning
>