mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Added config default value assignment
This commit is contained in:
parent
1835217d7e
commit
d0aa4e6913
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ var NoAudioSound = new Class({
|
|||
* @param {ISoundConfig} [config={}] - An optional config object containing default sound settings.
|
||||
*/
|
||||
initialize: function NoAudioSound(manager, key, config) {
|
||||
if (config === void 0) { config = {}; }
|
||||
EventEmitter.call(this);
|
||||
this.manager = manager;
|
||||
this.key = key;
|
||||
|
|
Loading…
Add table
Reference in a new issue