Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exts.forEach((ext) => {
LoaderResource.setExtensionXhrType(ext, LoaderResource.XHR_RESPONSE_TYPE.DEFAULT);
LoaderResource.setExtensionLoadType(ext, LoaderResource.LOAD_TYPE.AUDIO);
});
}
exts.forEach((ext) => {
LoaderResource.setExtensionXhrType(ext, LoaderResource.XHR_RESPONSE_TYPE.BUFFER);
LoaderResource.setExtensionLoadType(ext, LoaderResource.LOAD_TYPE.XHR);
});
}