kopia lustrzana https://github.com/backface/turtlestitch
fixed #2052
rodzic
b15d5c2402
commit
04d3a37b67
11
gui.js
11
gui.js
|
@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2018-March-05';
|
modules.gui = '2018-March-08';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -3499,7 +3499,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn,
|
module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn,
|
||||||
world = this.world();
|
world = this.world();
|
||||||
|
|
||||||
aboutTxt = 'Snap! 4.1.2.3\nBuild Your Own Blocks\n\n'
|
aboutTxt = 'Snap! 4.1.2.4 - dev -\nBuild Your Own Blocks\n\n'
|
||||||
+ 'Copyright \u24B8 2018 Jens M\u00F6nig and '
|
+ 'Copyright \u24B8 2018 Jens M\u00F6nig and '
|
||||||
+ 'Brian Harvey\n'
|
+ 'Brian Harvey\n'
|
||||||
+ 'jens@moenig.org, bh@cs.berkeley.edu\n\n'
|
+ 'jens@moenig.org, bh@cs.berkeley.edu\n\n'
|
||||||
|
@ -5608,8 +5608,11 @@ IDE_Morph.prototype.getURL = function (url, callback, responseType) {
|
||||||
async = callback instanceof Function,
|
async = callback instanceof Function,
|
||||||
myself = this,
|
myself = this,
|
||||||
rsp;
|
rsp;
|
||||||
request.responseType = responseType || 'text';
|
if (async) {
|
||||||
rsp = (request.responseType === 'text') ? 'responseText' : 'response';
|
request.responseType = responseType || 'text';
|
||||||
|
}
|
||||||
|
rsp = (!async || request.responseType === 'text') ? 'responseText'
|
||||||
|
: 'response';
|
||||||
try {
|
try {
|
||||||
request.open('GET', url, async);
|
request.open('GET', url, async);
|
||||||
if (async) {
|
if (async) {
|
||||||
|
|
|
@ -4014,3 +4014,4 @@ Translation Updates:
|
||||||
180308
|
180308
|
||||||
------
|
------
|
||||||
* Objects: fixed #2053
|
* Objects: fixed #2053
|
||||||
|
* GUI: fixed #2052
|
||||||
|
|
Ładowanie…
Reference in New Issue