寻找Javascript Typed Arrays仿真库 [英] Looking for Javascript Typed Arrays emulation library

查看:91
本文介绍了寻找Javascript Typed Arrays仿真库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个允许在旧的JS引擎中模拟Typed Arrays的库。

I'm searching for a library that allows to emulate Typed Arrays in older JS engines.

至少,我想支持IE8(因为WinXP)和Android 2.x(由于Android设备的碎片不太可能升级)

At the very least, I would like to support IE8 (because of WinXP) and Android 2.x (because of fragmentation of Android devices which wont likely to get upgraded)

是的,性能将是一个问题,但正如它所说的, 让它工作,然后让它快速工作..

Yes, performance would be an issue, but, as it said, "make it work, then make it work fast.."

单个代码库现在对我来说更重要。

Single codebase is more important to me right now.

推荐答案

我相信这就是您所需要的: http:// www.calormen.com/polyfill/typedarray.js

I believe this is what you're looking for: http://www.calormen.com/polyfill/typedarray.js

这是由Linden Research生产的polyfill。我是通过此页面找到的。虽然(2010年)它已经很老了。

It's a polyfill made by Linden Research. I found it via this page. It's quite old, though (2010).

这篇关于寻找Javascript Typed Arrays仿真库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆