Skip to content

Commit 735394b

Browse files
ESLint fix
1 parent e6616ec commit 735394b

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/sound/noaudio/NoAudioSoundManager.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* @copyright 2018 Photon Storm Ltd.
44
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
55
*/
6-
76
var BaseSoundManager = require('../BaseSoundManager');
87
var Class = require('../../utils/Class');
98
var EventEmitter = require('eventemitter3');
@@ -29,12 +28,8 @@ var NOOP = require('../../utils/NOOP');
2928
* @param {Phaser.Game} game - Reference to the current game instance.
3029
*/
3130
var NoAudioSoundManager = new Class({
32-
3331
Extends: EventEmitter,
34-
35-
initialize:
36-
37-
function NoAudioSoundManager (game)
32+
initialize: function NoAudioSoundManager (game)
3833
{
3934
EventEmitter.call(this);
4035
this.game = game;
@@ -49,9 +44,7 @@ var NoAudioSoundManager = new Class({
4944
add: function (key, config)
5045
{
5146
var sound = new NoAudioSound(this, key, config);
52-
5347
this.sounds.push(sound);
54-
5548
return sound;
5649
},
5750
addAudioSprite: function (key, config)
@@ -90,7 +83,5 @@ var NoAudioSoundManager = new Class({
9083
{
9184
BaseSoundManager.prototype.forEachActiveSound.call(this, callbackfn, scope);
9285
}
93-
9486
});
95-
9687
module.exports = NoAudioSoundManager;

0 commit comments

Comments
 (0)