mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
lint
This commit is contained in:
parent
80764f053d
commit
e084a76485
1 changed files with 3 additions and 3 deletions
|
@ -64,9 +64,9 @@ function parseScratchObject (object, runtime, topLevel) {
|
|||
}
|
||||
}
|
||||
// Sounds from JSON
|
||||
if (object.hasOwnProperty('sounds')) {
|
||||
for (var i = 0; i < object.sounds.length; i++) {
|
||||
var sound = object.sounds[i];
|
||||
if (object.hasOwnProperty('sounds')) {
|
||||
for (var s = 0; s < object.sounds.length; s++) {
|
||||
var sound = object.sounds[s];
|
||||
sprite.sounds.push({
|
||||
format: sound.format,
|
||||
fileUrl: 'https://cdn.assets.scratch.mit.edu/internalapi/asset/'
|
||||
|
|
Loading…
Reference in a new issue