mirror of
https://github.com/photonstorm/phaser
synced 2024-12-03 18:10:10 +00:00
ESLint fix
This commit is contained in:
parent
e6616ec484
commit
735394bc84
1 changed files with 1 additions and 10 deletions
|
@ -3,7 +3,6 @@
|
|||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
||||
var BaseSoundManager = require('../BaseSoundManager');
|
||||
var Class = require('../../utils/Class');
|
||||
var EventEmitter = require('eventemitter3');
|
||||
|
@ -29,12 +28,8 @@ var NOOP = require('../../utils/NOOP');
|
|||
* @param {Phaser.Game} game - Reference to the current game instance.
|
||||
*/
|
||||
var NoAudioSoundManager = new Class({
|
||||
|
||||
Extends: EventEmitter,
|
||||
|
||||
initialize:
|
||||
|
||||
function NoAudioSoundManager (game)
|
||||
initialize: function NoAudioSoundManager (game)
|
||||
{
|
||||
EventEmitter.call(this);
|
||||
this.game = game;
|
||||
|
@ -49,9 +44,7 @@ var NoAudioSoundManager = new Class({
|
|||
add: function (key, config)
|
||||
{
|
||||
var sound = new NoAudioSound(this, key, config);
|
||||
|
||||
this.sounds.push(sound);
|
||||
|
||||
return sound;
|
||||
},
|
||||
addAudioSprite: function (key, config)
|
||||
|
@ -90,7 +83,5 @@ var NoAudioSoundManager = new Class({
|
|||
{
|
||||
BaseSoundManager.prototype.forEachActiveSound.call(this, callbackfn, scope);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
module.exports = NoAudioSoundManager;
|
||||
|
|
Loading…
Reference in a new issue