kopia lustrzana https://github.com/backface/turtlestitch
cleanup logging / comments
rodzic
a044553767
commit
b4f12a67bd
|
@ -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';
|
||||
|
|
|
@ -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...'
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue