mirror of
https://github.com/scratchfoundation/scratch-analysis.git
synced 2025-04-30 16:03:27 -04:00
Update tap and deprecated test methods
This commit is contained in:
parent
e2392932e6
commit
2330e8589a
8 changed files with 105 additions and 101 deletions
lib
|
@ -77,7 +77,7 @@ const sprites = function (input) {
|
|||
let result = 0;
|
||||
|
||||
for (let i in input.children) {
|
||||
if (input.children[i].hasOwnProperty('spriteInfo')) result++;
|
||||
if (Object.prototype.hasOwnProperty.call(input.children[i], 'spriteInfo')) result++;
|
||||
}
|
||||
|
||||
return {count: result};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue