summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2015-06-25 15:48:26 +0200
committerjmoenig <jens@moenig.org>2015-06-25 15:48:26 +0200
commit87c9655335a688bf5ec52127ce1fde46d4c60d58 (patch)
treef83fc2e602c09e2fa58754e26f006465ded909b4
parent4755fe22ac6dca3b544b123b30337b1015e10cdd (diff)
downloadsnap-87c9655335a688bf5ec52127ce1fde46d4c60d58.tar.gz
snap-87c9655335a688bf5ec52127ce1fde46d4c60d58.zip
add some spaces
to satisfy old.jslint.com :-)
-rw-r--r--gui.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/gui.js b/gui.js
index b4f0faa..0fae8d3 100644
--- a/gui.js
+++ b/gui.js
@@ -84,8 +84,8 @@ var JukeboxMorph;
// Get the full url without "snap.html"
var baseUrl = document.URL.split('/');
-baseUrl.pop(baseUrl.length-1);
-baseUrl = baseUrl.join('/')+'/';
+baseUrl.pop(baseUrl.length - 1);
+baseUrl = baseUrl.join('/') + '/';
// IDE_Morph ///////////////////////////////////////////////////////////
@@ -4834,8 +4834,7 @@ ProjectDialogMorph.prototype.openProject = function () {
if (this.source === 'cloud') {
this.openCloudProject(proj);
} else if (this.source === 'examples') {
- src = this.ide.getURL(baseUrl + 'Examples/' + proj.name + '.xml'
- );
+ src = this.ide.getURL(baseUrl + 'Examples/' + proj.name + '.xml');
this.ide.openProjectString(src);
this.destroy();
} else { // 'local'