Enable TypedArray support at runtime (IE9 is still the outlier)

This commit is contained in:
Jeff Parsons 2014-10-12 13:09:20 -07:00 • committed by jeffpar
commit ade000d0a5
9 changed files with 428 additions and 428 deletions

View file

@ -106,7 +106,7 @@ var FATARRAYS = false;
*
* See the Memory component for details.
*/
var TYPEDARRAYS = (typeof window.ArrayBuffer !== 'undefined');
var TYPEDARRAYS = (typeof ArrayBuffer !== 'undefined');
if (typeof module !== 'undefined') {
global.PCJSCLASS = PCJSCLASS;