TypeArray support is broken in Safari
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
TypedArray support is broken in Safari due to the initial check in
lib-typedarrays.js. In Safari, typeof ArrayBuffer is an 'object'. Here is a
patch that works for all browsers.
Index: lib-typedarrays.js
===================================================================
--- lib-typedarrays.js (revision 643)
+++ lib-typedarrays.js (working copy)
@@ -1,6 +1,6 @@
(function () {
// Check if typed arrays are supported
- if (typeof ArrayBuffer != 'function') {
+ if (typeof ArrayBuffer === 'undefined') {
return;
}
Original issue reported on code.google.com by e...@dnanexus.com
on 24 Jan 2013 at 11:04
Attachments:
GoogleCodeExporter commented
Original comment by Jeff.Mott.OR
on 24 Jan 2013 at 11:46
- Changed state: Accepted
GoogleCodeExporter commented
r644
Original comment by Jeff.Mott.OR
on 25 Jan 2013 at 12:01