mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
* fix: json serialize lists_getIndex with json extraState (#6136) * address review comments * fix: move block tests to mocha/block folder
This commit is contained in:
@@ -441,6 +441,9 @@ const loadAttributes = function(block, state) {
|
||||
/**
|
||||
* Applies any extra state information available on the state object to the
|
||||
* block.
|
||||
* For json serialised blocks with a loadExtraState method, if the extraState
|
||||
* is an xml mutation (not an object), domToMutation will be called instead for
|
||||
* backward compatibility.
|
||||
* @param {!Block} block The block to set the extra state of.
|
||||
* @param {!State} state The state object to reference.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user