kopia lustrzana https://github.com/backface/turtlestitch
rodzic
2e704af88d
commit
e5c5097ff3
8
gui.js
8
gui.js
|
@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2018-July-09';
|
modules.gui = '2018-July-10';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -3504,7 +3504,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.2.1\nBuild Your Own Blocks\n\n'
|
aboutTxt = 'Snap! 4.2.1.1\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'
|
||||||
|
@ -5641,7 +5641,9 @@ IDE_Morph.prototype.getURL = function (url, callback, responseType) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
request.setRequestHeader('Cache-Control', 'max-age=0');
|
// cache-control, commented out for now
|
||||||
|
// added for Snap4Arduino but has issues with local robot servers
|
||||||
|
// request.setRequestHeader('Cache-Control', 'max-age=0');
|
||||||
request.send();
|
request.send();
|
||||||
if (!async) {
|
if (!async) {
|
||||||
if (request.status === 200) {
|
if (request.status === 200) {
|
||||||
|
|
|
@ -4253,3 +4253,9 @@ Translation Updates:
|
||||||
* Portuguese, thanks, Manuel!
|
* Portuguese, thanks, Manuel!
|
||||||
* French, thanks, Nathalie and Joan!
|
* French, thanks, Nathalie and Joan!
|
||||||
* Spanish, Catalan and French translations of the tools library, thanks, Nathalie and Joan!
|
* Spanish, Catalan and French translations of the tools library, thanks, Nathalie and Joan!
|
||||||
|
|
||||||
|
180710
|
||||||
|
------
|
||||||
|
* Threads, GUI: reverted Cache-Control header for HTTP requests b/c of CORS issues
|
||||||
|
|
||||||
|
=== v4.2.1.1 maintenance release ===
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<title>Snap! Build Your Own Blocks 4.2.1</title>
|
<title>Snap! Build Your Own Blocks 4.2.1.1</title>
|
||||||
<link rel="shortcut icon" href="favicon.ico">
|
<link rel="shortcut icon" href="favicon.ico">
|
||||||
<script type="text/javascript" src="morphic.js?version=2018-06-21"></script>
|
<script type="text/javascript" src="morphic.js?version=2018-06-21"></script>
|
||||||
<script type="text/javascript" src="widgets.js?version=2018-06-21"></script>
|
<script type="text/javascript" src="widgets.js?version=2018-06-21"></script>
|
||||||
<script type="text/javascript" src="blocks.js?version=2018-06-21"></script>
|
<script type="text/javascript" src="blocks.js?version=2018-06-21"></script>
|
||||||
<script type="text/javascript" src="threads.js?version=2018-07-09"></script>
|
<script type="text/javascript" src="threads.js?version=2018-07-10"></script>
|
||||||
<script type="text/javascript" src="objects.js?version=2018-07-06"></script>
|
<script type="text/javascript" src="objects.js?version=2018-07-06"></script>
|
||||||
<script type="text/javascript" src="gui.js?version=2018-07-09"></script>
|
<script type="text/javascript" src="gui.js?version=2018-07-10"></script>
|
||||||
<script type="text/javascript" src="paint.js?version=2018-06-21"></script>
|
<script type="text/javascript" src="paint.js?version=2018-06-21"></script>
|
||||||
<script type="text/javascript" src="lists.js?version=2018-06-21"></script>
|
<script type="text/javascript" src="lists.js?version=2018-06-21"></script>
|
||||||
<script type="text/javascript" src="byob.js?version=2018-06-21"></script>
|
<script type="text/javascript" src="byob.js?version=2018-06-21"></script>
|
||||||
|
|
|
@ -62,7 +62,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy,
|
||||||
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph,
|
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph,
|
||||||
TableFrameMorph, ColorSlotMorph, isSnapObject*/
|
TableFrameMorph, ColorSlotMorph, isSnapObject*/
|
||||||
|
|
||||||
modules.threads = '2018-July-09';
|
modules.threads = '2018-July-10';
|
||||||
|
|
||||||
var ThreadManager;
|
var ThreadManager;
|
||||||
var Process;
|
var Process;
|
||||||
|
@ -2302,7 +2302,9 @@ Process.prototype.reportURL = function (url) {
|
||||||
}
|
}
|
||||||
this.httpRequest = new XMLHttpRequest();
|
this.httpRequest = new XMLHttpRequest();
|
||||||
this.httpRequest.open("GET", url, true);
|
this.httpRequest.open("GET", url, true);
|
||||||
this.httpRequest.setRequestHeader('Cache-Control', 'max-age=0');
|
// cache-control, commented out for now
|
||||||
|
// added for Snap4Arduino but has issues with local robot servers
|
||||||
|
// this.httpRequest.setRequestHeader('Cache-Control', 'max-age=0');
|
||||||
this.httpRequest.send(null);
|
this.httpRequest.send(null);
|
||||||
if (this.context.isCustomCommand) {
|
if (this.context.isCustomCommand) {
|
||||||
// special case when ignoring the result, e.g. when
|
// special case when ignoring the result, e.g. when
|
||||||
|
|
Ładowanie…
Reference in New Issue