mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Fix jshint issues in src/loader
This commit is contained in:
parent
debb6bdcf9
commit
2ea76d1216
1 changed files with 2 additions and 2 deletions
|
@ -1163,11 +1163,11 @@ Phaser.Loader.prototype = {
|
|||
|
||||
if (file.autoDecode)
|
||||
{
|
||||
this.game.cache.updateSound(key, 'isDecoding', true);
|
||||
|
||||
var that = this;
|
||||
var key = file.key;
|
||||
|
||||
this.game.cache.updateSound(key, 'isDecoding', true);
|
||||
|
||||
this.game.sound.context.decodeAudioData(file.data, function (buffer) {
|
||||
if (buffer)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue