summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui.js b/gui.js
index 0619201..1ba307e 100644
--- a/gui.js
+++ b/gui.js
@@ -233,6 +233,8 @@ IDE_Morph.prototype.openIn = function (world) {
} else if (location.hash.substr(0, 6) === '#lang:') {
this.setLanguage(location.hash.substr(6));
this.newProject();
+ } else if (location.hash.substr(0, 7) === '#signup') {
+ this.createCloudAccount();
}
};
@@ -2860,6 +2862,11 @@ IDE_Morph.prototype.initializeCloud = function () {
IDE_Morph.prototype.createCloudAccount = function () {
var myself = this,
world = this.world();
+/*
+ // force-logout, commented out for now:
+ delete localStorage['-snap-user'];
+ SnapCloud.clear();
+*/
new DialogBoxMorph(
null,
function (user) {