mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Remove breaking check for blockId
This commit is contained in:
parent
0efe7e2b27
commit
f63e261892
1 changed files with 0 additions and 1 deletions
|
@ -15,7 +15,6 @@ var parseDOM = memoize(html.parseDOM, {
|
||||||
module.exports = function (e) {
|
module.exports = function (e) {
|
||||||
// Validate input
|
// Validate input
|
||||||
if (typeof e !== 'object') return;
|
if (typeof e !== 'object') return;
|
||||||
if (typeof e.blockId !== 'string') return;
|
|
||||||
if (typeof e.xml !== 'object') return;
|
if (typeof e.xml !== 'object') return;
|
||||||
|
|
||||||
return domToBlocks(parseDOM(e.xml.outerHTML));
|
return domToBlocks(parseDOM(e.xml.outerHTML));
|
||||||
|
|
Loading…
Reference in a new issue