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