summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2015-05-01 12:11:07 -0400
committerJens Mönig <jens@moenig.org>2015-05-01 12:11:07 -0400
commit4cd3488e60f61bbe6650fed3bf17591258cc38a8 (patch)
tree17a2c0d27fcab03dc110ab0e4a64da96348cb17a /gui.js
parent848773073a6fe873b0876246bb48aad67497cc43 (diff)
downloadsnap-4cd3488e60f61bbe6650fed3bf17591258cc38a8.tar.gz
snap-4cd3488e60f61bbe6650fed3bf17591258cc38a8.zip
formatting tweaks for JSLint’s benefit
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.js b/gui.js
index 594a682..4554f5f 100644
--- a/gui.js
+++ b/gui.js
@@ -386,9 +386,9 @@ IDE_Morph.prototype.openIn = function (world) {
msg.destroy();
if (dict.editMode) {
- myself.toggleAppMode(false);
+ myself.toggleAppMode(false);
} else {
- myself.toggleAppMode(true);
+ myself.toggleAppMode(true);
}
if (!dict.noRun) {
@@ -397,7 +397,7 @@ IDE_Morph.prototype.openIn = function (world) {
if (dict.hideControls) {
myself.controlBar.hide();
- window.onbeforeunload = function (evt) {};
+ window.onbeforeunload = function () {nop(); };
}
}
]);