diff options
| author | Erik Olsson <eolsson@gmail.com> | 2014-12-14 18:48:03 +0100 |
|---|---|---|
| committer | Erik Olsson <eolsson@gmail.com> | 2014-12-14 18:48:03 +0100 |
| commit | 57bef2b736f14cf25d6edd23ec4336d3c7146b5c (patch) | |
| tree | 8ee587603ee410a67c4dc6394db18cb4be35c26a /gui.js | |
| parent | 43626c46519d88acb415e76c49b4983907de9dcd (diff) | |
| parent | 0a239b703c8c7fde5540ce63c4236522a22ee049 (diff) | |
| download | snap-57bef2b736f14cf25d6edd23ec4336d3c7146b5c.tar.gz snap-57bef2b736f14cf25d6edd23ec4336d3c7146b5c.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2014-October-06'; +modules.gui = '2014-December-04'; // Declarations @@ -233,10 +233,6 @@ IDE_Morph.prototype.init = function (isAutoFill) { IDE_Morph.prototype.openIn = function (world) { var hash, usr, myself = this, urlLanguage = null; - this.buildPanes(); - world.add(this); - world.userMenu = this.userMenu; - // get persistent user data, if any if (localStorage) { usr = localStorage['-snap-user']; @@ -245,10 +241,17 @@ IDE_Morph.prototype.openIn = function (world) { if (usr) { SnapCloud.username = usr.username || null; SnapCloud.password = usr.password || null; + if (SnapCloud.username) { + this.source = 'cloud'; + } } } } + this.buildPanes(); + world.add(this); + world.userMenu = this.userMenu; + // override SnapCloud's user message with Morphic SnapCloud.message = function (string) { var m = new MenuMorph(null, string), @@ -2511,8 +2514,9 @@ IDE_Morph.prototype.aboutSnap = function () { + 'jens@moenig.org, bh@cs.berkeley.edu\n\n' + 'Snap! is developed by the University of California, Berkeley\n' - + ' with support from the National Science Foundation ' - + 'and MioSoft. \n' + + ' with support from the National Science Foundation, ' + + 'MioSoft, \n' + + 'and the Communications Design Group at SAP Labs. \n' + 'The design of Snap! is influenced and inspired by Scratch,\n' + 'from the Lifelong Kindergarten group at the MIT Media Lab\n\n' |
