remove console errors and extraneous console logs

This commit is contained in:
Cassie Tarakajian 2017-07-17 17:34:11 -04:00
parent 4684feaff6
commit b384fdc6ba
3 changed files with 3 additions and 2 deletions

View file

@ -176,7 +176,6 @@ class Editor extends React.Component {
} }
initializeDocuments(files) { initializeDocuments(files) {
console.log('calling initialize documents');
this._docs = {}; this._docs = {};
files.forEach((file) => { files.forEach((file) => {
if (file.name !== 'root') { if (file.name !== 'root') {

View file

@ -263,6 +263,7 @@ class IDEView extends React.Component {
setLintWarning={this.props.setLintWarning} setLintWarning={this.props.setLintWarning}
textOutput={this.props.preferences.textOutput} textOutput={this.props.preferences.textOutput}
gridOutput={this.props.preferences.gridOutput} gridOutput={this.props.preferences.gridOutput}
soundOutput={this.props.preferences.soundOutput}
setTextOutput={this.props.setTextOutput} setTextOutput={this.props.setTextOutput}
setGridOutput={this.props.setGridOutput} setGridOutput={this.props.setGridOutput}
setSoundOutput={this.props.setSoundOutput} setSoundOutput={this.props.setSoundOutput}
@ -564,7 +565,7 @@ IDEView.propTypes = {
infiniteLoop: PropTypes.bool.isRequired, infiniteLoop: PropTypes.bool.isRequired,
previewIsRefreshing: PropTypes.bool.isRequired, previewIsRefreshing: PropTypes.bool.isRequired,
infiniteLoopMessage: PropTypes.string.isRequired, infiniteLoopMessage: PropTypes.string.isRequired,
projectSavedTime: PropTypes.string.isRequired, projectSavedTime: PropTypes.string,
previousPath: PropTypes.string.isRequired, previousPath: PropTypes.string.isRequired,
justOpenedProject: PropTypes.bool.isRequired, justOpenedProject: PropTypes.bool.isRequired,
errorType: PropTypes.string, errorType: PropTypes.string,

View file

@ -8,6 +8,7 @@ const initialState = () => {
return { return {
name: generatedName, name: generatedName,
serveSecure: isSecurePage(), serveSecure: isSecurePage(),
updatedAt: ''
}; };
}; };