mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-10 13:03:59 -04:00
style: fix hasOwnProperty lint complaints
This commit is contained in:
parent
b1cc55e680
commit
8dbcc1fc8f
29 changed files with 207 additions and 180 deletions
test/unit
|
@ -40,7 +40,7 @@ test('blocks get new id on duplicate', t => {
|
|||
rt.blocks.createBlock(block);
|
||||
|
||||
return rt.duplicate().then(duplicate => {
|
||||
t.notOk(duplicate.blocks._blocks.hasOwnProperty(block.id));
|
||||
t.notOk(Object.prototype.hasOwnProperty.call(duplicate.blocks._blocks, block.id));
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue