Skip to content

Commit d0aa4e6

Browse files
Added config default value assignment
1 parent 1835217 commit d0aa4e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sound/noaudio/NoAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ var NoAudioSound = new Class({
2222
* @param {ISoundConfig} [config={}] - An optional config object containing default sound settings.
2323
*/
2424
initialize: function NoAudioSound(manager, key, config) {
25+
if (config === void 0) { config = {}; }
2526
EventEmitter.call(this);
2627
this.manager = manager;
2728
this.key = key;

0 commit comments

Comments
 (0)