Skip to content

Commit de0aefb

Browse files
Added default value for config in WebAudioSound constructor
1 parent 9a14369 commit de0aefb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ var BaseSound = require('../BaseSound');
66
var WebAudioSound = new Class({
77
Extends: BaseSound,
88
initialize: function WebAudioSound(manager, key, config) {
9+
if (config === void 0) { config = {}; }
910
/**
1011
* [description]
1112
*

0 commit comments

Comments
 (0)