kopia lustrzana https://github.com/backface/turtlestitch
new url option switch: &noExitWarning
to better support embedding Snaplets into Moocspull/29/head
rodzic
4b0442dcba
commit
5dc4874352
7
gui.js
7
gui.js
|
@ -72,7 +72,7 @@ isRetinaSupported, SliderMorph, Animation*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2016-December-09';
|
modules.gui = '2016-December-19';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -407,7 +407,10 @@ IDE_Morph.prototype.openIn = function (world) {
|
||||||
|
|
||||||
if (dict.hideControls) {
|
if (dict.hideControls) {
|
||||||
myself.controlBar.hide();
|
myself.controlBar.hide();
|
||||||
window.onbeforeunload = function () {nop(); };
|
window.onbeforeunload = nop;
|
||||||
|
}
|
||||||
|
if (dict.noExitWarning) {
|
||||||
|
window.onbeforeunload = nop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -3193,6 +3193,10 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
------
|
------
|
||||||
* Catalan translation update, thanks, @jguille2 !
|
* Catalan translation update, thanks, @jguille2 !
|
||||||
|
|
||||||
|
161219
|
||||||
|
------
|
||||||
|
* GUI: new url-switch: &noExitWarning
|
||||||
|
|
||||||
|
|
||||||
== v4.10 === (in development)
|
== v4.10 === (in development)
|
||||||
|
|
||||||
|
@ -3203,10 +3207,11 @@ Features:
|
||||||
* basic typography support for custom block labels, thanks, Bernat!!
|
* basic typography support for custom block labels, thanks, Bernat!!
|
||||||
* Treat JS-function reporters the same as variable getters wrt rings
|
* Treat JS-function reporters the same as variable getters wrt rings
|
||||||
* new url switch #dl: for downloading raw shared projects
|
* new url switch #dl: for downloading raw shared projects
|
||||||
|
* new url option switch: &noExitWarning
|
||||||
* svg support for images from the web (svg files have been supported for a long time)
|
* svg support for images from the web (svg files have been supported for a long time)
|
||||||
* use media dialog for browsing and importing sounds
|
* use media dialog for browsing and importing sounds
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* Music (play note) to work again in new and recent browser versions (Chrome 55)
|
* Music (play note) to work again in new and recent browser versions (Chrome 55)
|
||||||
* IDE layout: fixed resizing issues when the window becomes too small
|
* IDE layout: fixed resizing issues when the window becomes too small
|
||||||
* Translation updates (Russian, Polish, Danish, Portuguese, Catalan)
|
* Translation updates (Russian, Polish, Danish, Portuguese, Catalan, German)
|
||||||
|
|
Ładowanie…
Reference in New Issue