diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index d47f93c5..96cc2099 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -154,11 +154,8 @@ function buildZip(state) { } }); } else { - console.log('adding', `${path}${file.name}`); zip.file(`${path}${file.name}`, file.content); numCompletedFiles += 1; - console.log('numFiles', numFiles); - console.log('numCompletedFiles', numCompletedFiles); if (numCompletedFiles === numFiles) { zip.generateAsync({ type: 'blob' }).then((content) => { saveAs(content, `${projectName}.zip`); @@ -174,23 +171,6 @@ export function exportProjectAsZip() { return (dispatch, getState) => { const state = getState(); buildZip(state); - // async.each(state.files, (file, cb) => { - // if (file.url) { - // JSZipUtils.getBinaryContent(file.url, (err, data) => { - // zip.file(file.name, data, { binary: true }); - // cb(); - // }); - // } else { - // zip.file(file.name, file.content); - // cb(); - // } - // }, err => { - // if (err) console.log(err); - // zip.generateAsync({ type: 'blob' }).then((content) => { - // saveAs(content, `${state.project.name}.zip`); - // }); - // }); - // }; }; } diff --git a/client/modules/IDE/components/Console.js b/client/modules/IDE/components/Console.js index 9a527ccf..bb08e59b 100644 --- a/client/modules/IDE/components/Console.js +++ b/client/modules/IDE/components/Console.js @@ -27,7 +27,6 @@ class Console extends React.Component { if (nextProps.isPlaying && !this.props.isPlaying) { this.children = []; } else if (nextProps.consoleEvent !== this.props.consoleEvent && this.props.isPlaying) { - console.log(nextProps.consoleEvent); nextProps.consoleEvent.forEach(consoleEvent => { if (consoleEvent.source === 'sketch') { const args = consoleEvent.arguments; diff --git a/client/modules/IDE/components/PreviewFrame.js b/client/modules/IDE/components/PreviewFrame.js index 4251db10..ce65e5aa 100644 --- a/client/modules/IDE/components/PreviewFrame.js +++ b/client/modules/IDE/components/PreviewFrame.js @@ -187,7 +187,6 @@ class PreviewFrame extends React.Component { } }); newJSFile.content = loopProtect(newJSFile.content); - console.log(newJSFile.content); jsFiles.push(newJSFile); }); diff --git a/client/modules/IDE/components/SidebarItem.js b/client/modules/IDE/components/SidebarItem.js index bba03a74..c029e354 100644 --- a/client/modules/IDE/components/SidebarItem.js +++ b/client/modules/IDE/components/SidebarItem.js @@ -74,7 +74,6 @@ class SidebarItem extends React.Component {