cleanup logging / comments

pull/89/head
Michael Ball 2019-01-24 02:07:26 -08:00
rodzic a044553767
commit b4f12a67bd
2 zmienionych plików z 4 dodań i 6 usunięć

Wyświetl plik

@ -28,9 +28,10 @@
*/
// Global settings /////////////////////////////////////////////////////
// cloud.js should be able to exist indepent of Snap!
// (The module date is included for simplicity, but is not needed elsewhere.)
/*global modules, SnapSerializer, hex_sha512, DialogBoxMorph, Color,
normalizeCanvas*/
/*global modules, hex_sha512*/
modules = modules || {};
modules.cloud = '2019-January-17';

Wyświetl plik

@ -5657,12 +5657,9 @@ IDE_Morph.prototype.saveProjectToCloud = function (name) {
}
this.showMessage('Saving project\nto the cloud...');
console.log('name', name);
projectBody = this.buildProjectRequest();
console.log(projectBody);
projectSize = this.verifyProject(projectBody);
console.log(projectSize);
if (!projectSize) {return; }
if (!projectSize) {return; } // Invalid Projects don't return anything.
this.showMessage(
'Uploading ' + Math.round(projectSize / 1024) + ' KB...'
);