diff --git a/HISTORY.md b/HISTORY.md index db54c70e64..1345efab43 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,14 @@ * **Notable Fixes:** * **Translation Updates:** +## v5.0.8 +* **Notable Fix:** + * fixed default names for 'script variables' block + +### 2019-07-25 +* blocks: fixed default names for 'script variables' block +* prepared maintenance release + ## v5.0.7 * **Notable Fix:** * fixed #2041 diff --git a/snap.html b/snap.html index 46c3bf82ae..cbd3095406 100755 --- a/snap.html +++ b/snap.html @@ -2,14 +2,14 @@ - Snap! Build Your Own Blocks 5.0.7 + Snap! Build Your Own Blocks 5.0.8 - + - + diff --git a/src/blocks.js b/src/blocks.js index 78b5bde0f4..db05f90756 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2019-July-22'; +modules.blocks = '2019-July-25'; var SyntaxElementMorph; var BlockMorph; @@ -11023,6 +11023,10 @@ MultiArgMorph.prototype.addInput = function (contents) { this.elementSpec === '%blockVars') { name = ''; i = idx; + if (this.elementSpec === '%scriptVars') { + // compensate for missing label element + i += 1; + } while (i > 0) { name = String.fromCharCode(97 + (i - 1) % 26) + name; i = Math.floor((i - 1) / 26); diff --git a/src/gui.js b/src/gui.js index 15658aa6f9..6766f427ab 100644 --- a/src/gui.js +++ b/src/gui.js @@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2019-July-24'; +modules.gui = '2019-July-25'; // Declarations @@ -3595,7 +3595,7 @@ IDE_Morph.prototype.aboutSnap = function () { module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn, world = this.world(); - aboutTxt = 'Snap! 5.0.7\nBuild Your Own Blocks\n\n' + aboutTxt = 'Snap! 5.0.8\nBuild Your Own Blocks\n\n' + 'Copyright \u24B8 2019 Jens M\u00F6nig and ' + 'Brian Harvey\n' + 'jens@moenig.org, bh@cs.berkeley.edu\n\n'