mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
The AudioContextMonkeyPatch has been updated to use an iife. Fix #3437
This commit is contained in:
parent
3d9da060c5
commit
6cfc5d49e7
2 changed files with 4 additions and 4 deletions
|
@ -37,6 +37,7 @@
|
|||
* Container removeHandler will re-instate a child's Scene shutdown listener.
|
||||
* Container preDestroy now handles the pre-destroy calls, such as clearing the container.
|
||||
* Blitter preDestroy will now clear the children List and renderList.
|
||||
* The AudioContextMonkeyPatch has been updated to use an iife. Fix #3437 (thanks @NebSehemvi)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
|
|
@ -47,8 +47,8 @@ and string types for AudioPannerNode.panningModel, AudioPannerNode.distanceModel
|
|||
BiquadFilterNode.type and OscillatorNode.type.
|
||||
|
||||
*/
|
||||
(function (global, exports, perf) {
|
||||
'use strict';
|
||||
|
||||
(function () {
|
||||
|
||||
function fixSetTarget(param) {
|
||||
if (!param) // if NYI, just return
|
||||
|
@ -178,5 +178,4 @@ BiquadFilterNode.type and OscillatorNode.type.
|
|||
window.OfflineAudioContext = webkitOfflineAudioContext;
|
||||
}
|
||||
|
||||
}(window));
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue