mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Fix lint and tests.
This commit is contained in:
parent
1401d54add
commit
1639444a4d
6 changed files with 42 additions and 11 deletions
|
@ -735,6 +735,7 @@ class Blocks {
|
|||
/**
|
||||
* Encode all of `this._blocks` as an XML string usable
|
||||
* by a Blockly/scratch-blocks workspace.
|
||||
* @param {object<string, Comment>} comments Map of comments referenced by id
|
||||
* @return {string} String of XML representing this object's blocks.
|
||||
*/
|
||||
toXML (comments) {
|
||||
|
@ -745,6 +746,7 @@ class Blocks {
|
|||
* Recursively encode an individual block and its children
|
||||
* into a Blockly/scratch-blocks XML string.
|
||||
* @param {!string} blockId ID of block to encode.
|
||||
* @param {object<string, Comment>} comments Map of comments referenced by id
|
||||
* @return {string} String of XML representing this block and any children.
|
||||
*/
|
||||
blockToXML (blockId, comments) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue