The AudioContextMonkeyPatch has been updated to use an iife. Fix #3437

This commit is contained in:
Richard Davey 2018-05-24 23:17:33 +01:00
parent 3d9da060c5
commit 6cfc5d49e7
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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));
})();