Newer
Older
pixi.js / packages / polyfill / src / index.js
@Matt Karl Matt Karl on 31 Oct 2017 332 bytes Next Restructure for v5 (#4387)
import './Object.assign';
import './requestAnimationFrame';
import './Math.sign';

if (!window.ArrayBuffer)
{
    window.ArrayBuffer = Array;
}

if (!window.Float32Array)
{
    window.Float32Array = Array;
}

if (!window.Uint32Array)
{
    window.Uint32Array = Array;
}

if (!window.Uint16Array)
{
    window.Uint16Array = Array;
}