kopia lustrzana https://github.com/backface/turtlestitch
formatting tweaks for JSLint’s benefit
rodzic
848773073a
commit
4cd3488e60
6
gui.js
6
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(); };
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
|
Ładowanie…
Reference in New Issue