File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * @copyright 2018 Photon Storm Ltd.
44 * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License }
55 */
6-
76var BaseSound = require ( '../BaseSound' ) ;
87var Class = require ( '../../utils/Class' ) ;
98var 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 */
3231var 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-
110102module . exports = NoAudioSound ;
You can’t perform that action at this time.
0 commit comments