Merge pull request #768 from bromagosa/contrib

new parameters to allow embedding projects
pull/3/merge
Jens Mönig 2015-05-01 12:05:42 -04:00
commit 848773073a
1 zmienionych plików z 15 dodań i 2 usunięć

13
gui.js
Wyświetl plik

@ -384,9 +384,22 @@ IDE_Morph.prototype.openIn = function (world) {
myself.shield.destroy();
myself.shield = null;
msg.destroy();
if (dict.editMode) {
myself.toggleAppMode(false);
} else {
myself.toggleAppMode(true);
}
if (!dict.noRun) {
myself.runScripts();
}
if (dict.hideControls) {
myself.controlBar.hide();
window.onbeforeunload = function (evt) {};
}
}
]);
},
this.cloudError()