Fix jshint issues in src/loader

This commit is contained in:
Christian Wesselhoeft 2014-03-23 01:33:53 -07:00
parent debb6bdcf9
commit 2ea76d1216

View file

@ -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)
{