formatting tweaks for JSLint’s benefit

pull/3/merge
Jens Mönig 2015-05-01 12:11:07 -04:00
rodzic 848773073a
commit 4cd3488e60
1 zmienionych plików z 3 dodań i 3 usunięć

6
gui.js
Wyświetl plik

@ -386,9 +386,9 @@ IDE_Morph.prototype.openIn = function (world) {
msg.destroy(); msg.destroy();
if (dict.editMode) { if (dict.editMode) {
myself.toggleAppMode(false); myself.toggleAppMode(false);
} else { } else {
myself.toggleAppMode(true); myself.toggleAppMode(true);
} }
if (!dict.noRun) { if (!dict.noRun) {
@ -397,7 +397,7 @@ IDE_Morph.prototype.openIn = function (world) {
if (dict.hideControls) { if (dict.hideControls) {
myself.controlBar.hide(); myself.controlBar.hide();
window.onbeforeunload = function (evt) {}; window.onbeforeunload = function () {nop(); };
} }
} }
]); ]);