From ddd72355c50ad386b8de35e3b16c1dcb97bbab94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20M=C3=B6nig?= Date: Sun, 24 Mar 2024 10:19:22 +0100 Subject: [PATCH] v9.2.13 patch: fixed "my solutions" reporter for puzzle scripts without comments --- HISTORY.md | 7 +++++++ snap.html | 4 ++-- src/gui.js | 4 ++-- src/threads.js | 4 ++-- sw.js | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 52eee5191..fff87b94c 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,13 @@ ## in development: +## 9.2.13: + * fixed "my solutions" reporter for puzzle scripts without comments + +2024-03-24 +* threaes: fixed "my solutions" reporter for puzzle scripts without comments +* prepared v9.2.13 patch + ## 9.2.12: * fixed right-click deletion of reporters embedded in variadic slots diff --git a/snap.html b/snap.html index 24915b0f9..8859fa687 100755 --- a/snap.html +++ b/snap.html @@ -17,10 +17,10 @@ - + - + diff --git a/src/gui.js b/src/gui.js index c04444bbb..6a7f4a32f 100644 --- a/src/gui.js +++ b/src/gui.js @@ -87,11 +87,11 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions, snapEquals // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2024-March-18'; +modules.gui = '2024-March-24'; // Declarations -var SnapVersion = '9.2.12'; +var SnapVersion = '9.2.13'; var IDE_Morph; var ProjectDialogMorph; diff --git a/src/threads.js b/src/threads.js index 9042bcb89..7779d20d3 100644 --- a/src/threads.js +++ b/src/threads.js @@ -65,7 +65,7 @@ StagePickerMorph, CustomBlockDefinition, CommentMorph*/ /*jshint esversion: 11, bitwise: false, evil: true*/ -modules.threads = '2024-January-18'; +modules.threads = '2024-March-24'; var ThreadManager; var Process; @@ -6475,7 +6475,7 @@ Process.prototype.reportGet = function (query) { each => each instanceof BlockMorph ).map( each => new List([ - each?.comment.text() || '', + each?.comment?.text() || '', each.fullCopy().reify() ]) ) diff --git a/sw.js b/sw.js index dbc54ffa9..226f56cf0 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -var snapVersion = '9.2.12', +var snapVersion = '9.2.13', cacheName = `snap-pwa-${snapVersion}`, filesToCache = [ 'snap.html',