mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Remove unnecessary comments.
This commit is contained in:
parent
2f53996c9c
commit
18c1a20eaa
1 changed files with 1 additions and 2 deletions
|
@ -177,7 +177,7 @@ const serializeBlock = function (block) {
|
||||||
obj.inputs = serializeInputs(block.inputs);
|
obj.inputs = serializeInputs(block.inputs);
|
||||||
obj.fields = serializeFields(block.fields);
|
obj.fields = serializeFields(block.fields);
|
||||||
obj.topLevel = block.topLevel ? block.topLevel : false;
|
obj.topLevel = block.topLevel ? block.topLevel : false;
|
||||||
obj.shadow = block.shadow; // I think we don't need this either..
|
obj.shadow = block.shadow;
|
||||||
if (block.topLevel) {
|
if (block.topLevel) {
|
||||||
if (block.x) {
|
if (block.x) {
|
||||||
obj.x = Math.round(block.x);
|
obj.x = Math.round(block.x);
|
||||||
|
@ -442,7 +442,6 @@ const deserializeInputDesc = function (inputDescOrId, parentId, isShadow, blocks
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
primitiveObj.topLevel = false;
|
primitiveObj.topLevel = false;
|
||||||
// what should we do about shadows
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case POSITIVE_NUM_PRIMITIVE: {
|
case POSITIVE_NUM_PRIMITIVE: {
|
||||||
|
|
Loading…
Reference in a new issue