diff --git a/HISTORY.md b/HISTORY.md index cd59a935..7d93b9f4 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -52,6 +52,9 @@ * **Translation Updates:** * German +### 2022-06-24 +* threads: made block attribute "type" case-insensitive for textual mnemonics + ### 2022-06-23 * objects, threads: turned DEFINE into a command block with an upvar, experimental * German translation update for the new format of the DEFINE block diff --git a/snap.html b/snap.html index 6a60b907..5bce620b 100755 --- a/snap.html +++ b/snap.html @@ -17,7 +17,7 @@ - + diff --git a/src/threads.js b/src/threads.js index 53770ec6..8f71cec5 100644 --- a/src/threads.js +++ b/src/threads.js @@ -65,7 +65,7 @@ StagePickerMorph, CustomBlockDefinition*/ /*jshint esversion: 11, bitwise: false, evil: true*/ -modules.threads = '2022-June-23'; +modules.threads = '2022-June-24'; var ThreadManager; var Process; @@ -5860,7 +5860,7 @@ Process.prototype.doSetBlockAttribute = function (attribute, block, val) { case 'type': this.assertType(val, ['number', 'text']); if (this.reportTypeOf(val) === 'text') { - type = val; + type = val.toLowerCase(); } else { type = types[val - 1] || ''; }