Skip to content

Commit

Permalink
fixed #3239 (a context serialization glitch)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moenig committed Jul 27, 2023
1 parent 1b380c7 commit c42c4e7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## in development:

## 9.0.2:
* **Notable Fixes:**
* fixed #3239 (a context serialization glitch)

### 2023-07-27
* store: fixed #3239 (a context serialization glitch)
* prepared v9.0.2 patch

## 9.0.1:
* **Notable Fixes:**
* fixed "play sound until done" blocking glitch
Expand Down
4 changes: 2 additions & 2 deletions snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="src/threads.js?version=2023-07-14"></script>
<script src="src/objects.js?version=2023-07-14"></script>
<script src="src/scenes.js?version=2022-10-25"></script>
<script src="src/gui.js?version=2023-07-19"></script>
<script src="src/gui.js?version=2023-07-27"></script>
<script src="src/paint.js?version=2023-05-24"></script>
<script src="src/lists.js?version=2023-07-18"></script>
<script src="src/byob.js?version=2023-07-14"></script>
Expand All @@ -30,7 +30,7 @@
<script src="src/maps.js?version=2021-06-15"></script>
<script src="src/extensions.js?version=2023-05-09"></script>
<script src="src/xml.js?version=2021-07-05"></script>
<script src="src/store.js?version=2023-06-29"></script>
<script src="src/store.js?version=2023-07-27"></script>
<script src="src/locale.js?version=2023-07-12"></script>
<script src="src/cloud.js?version=2023-04-12"></script>
<script src="src/api.js?version=2022-11-28"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions, snapEquals

// Global stuff ////////////////////////////////////////////////////////

modules.gui = '2023-July-19';
modules.gui = '2023-July-27';

// Declarations

var SnapVersion = '9.0.1';
var SnapVersion = '9.0.2';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
6 changes: 3 additions & 3 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Project*/

// Global stuff ////////////////////////////////////////////////////////

modules.store = '2023-June-29';
modules.store = '2023-July-27';

// XML_Serializer ///////////////////////////////////////////////////////
/*
Expand Down Expand Up @@ -2527,11 +2527,11 @@ Context.prototype.toXML = function (serializer) {
'<context ~><inputs>%</inputs><variables>%</variables>%' +
'%<receiver>%</receiver><origin>%</origin>%</context>',
this.inputs.reduce(
(xml, input) => xml + input.toXML ?
(xml, input) => xml + (input.toXML ?
serializer.format(
'<input>%</input>',
input.toXML(serializer)
) : serializer.format('<input>$</input>', input),
) : serializer.format('<input>$</input>', input)),
''
),
this.variables ? serializer.store(this.variables) : '',
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var snapVersion = '9.0.1',
var snapVersion = '9.0.2',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit c42c4e7

Please sign in to comment.