Skip to content

Commit e6616ec

Browse files
Fixed play method docs
1 parent 1d373cb commit e6616ec

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/sound/noaudio/NoAudioSound.js

Lines changed: 1 addition & 9 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 BaseSound = require('../BaseSound');
87
var Class = require('../../utils/Class');
98
var EventEmitter = require('eventemitter3');
@@ -30,12 +29,8 @@ var Extend = require('../../utils/object/Extend');
3029
* @param {SoundConfig} [config={}] - An optional config object containing default sound settings.
3130
*/
3231
var NoAudioSound = new Class({
33-
3432
Extends: EventEmitter,
35-
36-
initialize:
37-
38-
function NoAudioSound (manager, key, config)
33+
initialize: function NoAudioSound (manager, key, config)
3934
{
4035
if (config === void 0) { config = {}; }
4136
EventEmitter.call(this);
@@ -101,10 +96,7 @@ var NoAudioSound = new Class({
10196
destroy: function ()
10297
{
10398
this.manager.remove(this);
104-
10599
BaseSound.prototype.destroy.call(this);
106100
}
107-
108101
});
109-
110102
module.exports = NoAudioSound;

0 commit comments

Comments
 (0)