diff --git a/HISTORY.md b/HISTORY.md index 671e38eb..ecdfe3e4 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -22,6 +22,7 @@ ### 2022-03-22 * blocks: fixed relabelling "sum", "product", "minimum" and "maximum" reporters +* store: tweaked script deserialization ### 2022-03-21 * updated frequency distribution analysis library, thanks, Brian! diff --git a/snap.html b/snap.html index 7699be17..6f54f0fe 100755 --- a/snap.html +++ b/snap.html @@ -30,7 +30,7 @@ - + diff --git a/src/store.js b/src/store.js index d528c1cf..df2f9c79 100644 --- a/src/store.js +++ b/src/store.js @@ -63,7 +63,7 @@ Project*/ // Global stuff //////////////////////////////////////////////////////// -modules.store = '2022-March-18'; +modules.store = '2022-March-22'; // XML_Serializer /////////////////////////////////////////////////////// /* @@ -1353,7 +1353,7 @@ SnapSerializer.prototype.loadInput = function (model, input, block, object) { input.fixLayout(); } } else if (model.tag === 'list') { - while (input.inputs().length > 0) { + while (input.inputs().length > 0 && input.removeInput) { input.removeInput(); } model.children.forEach(item => {