Skip to content

Commit 6c7b73b

Browse files
Removed webkit flag as it is not used (polyfill handles the differences)
1 parent 6b291e8 commit 6c7b73b

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

v3/src/sound/webaudio/WebAudioSoundManager.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ var SoundValueEvent = require('../SoundValueEvent');
66
var WebAudioSoundManager = new Class({
77
Extends: BaseSoundManager,
88
initialize: function WebAudioSoundManager(game) {
9-
/**
10-
* Flag indicating if Web Audio implementation is webkit or standards based.
11-
* There are certain cases where they have to be handled differently.
12-
*
13-
* https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Porting_webkitAudioContext_code_to_standards_based_AudioContext
14-
*
15-
* @private
16-
* @property {boolean} webkit
17-
*/
18-
this.webkit = !!window['webkitAudioContext'] && !window['AudioContext'];
199
/**
2010
* The AudioContext being used for playback.
2111
*

0 commit comments

Comments
 (0)