diff --git a/HISTORY.md b/HISTORY.md index 94a945be..fb338a67 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -13,6 +13,7 @@ * fixed a postMessage glitch in the API, thanks, Bernat! * fixed a glitch in the Turkish translation that broke the "Looks" blocks category * fixed a glitch that prevented the text cursor from displaying instantly in certain situations + * fixed importing exported reporter-scripts (experimental feature) * **Translation Updates:** * Tamil, thanks, Barthdry! * German @@ -21,6 +22,7 @@ ### 2021-01-02 * lists: refactored some matrix operations * threads: made identity comparison of texts case-sensitive +* blocks, gui: fixed importing exported reporter-scripts (experimental feature) ### 2021-01-30 * threads, objects, lists: renamed experimental "rotate" primitive into "transpose" diff --git a/snap.html b/snap.html index 8eaeb129..beb1f9d9 100755 --- a/snap.html +++ b/snap.html @@ -8,10 +8,10 @@ - + - + diff --git a/src/blocks.js b/src/blocks.js index 54bcb3af..32561659 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -9,7 +9,7 @@ written by Jens Mönig jens@moenig.org - Copyright (C) 2020 by Jens Mönig + Copyright (C) 2021 by Jens Mönig This file is part of Snap!. @@ -158,7 +158,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2020-December-22'; +modules.blocks = '2021-February-01'; var SyntaxElementMorph; var BlockMorph; @@ -3012,8 +3012,8 @@ BlockMorph.prototype.userMenu = function () { } if (ide) { ide.saveXMLAs( - ide.serializer.serialize(this), - this.selector + ' script', + ide.serializer.serialize(top), + top.selector + ' script', false); } }, diff --git a/src/gui.js b/src/gui.js index a18eaa0d..620f23a1 100644 --- a/src/gui.js +++ b/src/gui.js @@ -78,7 +78,7 @@ Animation, BoxMorph, BlockEditorMorph, BlockDialogMorph, Note, ZERO, BLACK*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2021-January-21'; +modules.gui = '2021-February-01'; // Declarations @@ -2284,6 +2284,9 @@ IDE_Morph.prototype.droppedText = function (aString, name, fileType) { if (aString.indexOf(''; + } if (aString.indexOf('