Skip to content

Commit df59acd

Browse files
Removes unecessary polyfils
1 parent 497e2ba commit df59acd

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

src/tracking.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -271,38 +271,6 @@
271271
// Browser polyfills
272272
//===================
273273

274-
if (!window.self.Int8Array) {
275-
window.self.Int8Array = Array;
276-
}
277-
278-
if (!window.self.Uint8Array) {
279-
window.self.Uint8Array = Array;
280-
}
281-
282-
if (!window.self.Uint8ClampedArray) {
283-
window.self.Uint8ClampedArray = Array;
284-
}
285-
286-
if (!window.self.Uint16Array) {
287-
window.self.Uint16Array = Array;
288-
}
289-
290-
if (!window.self.Int32Array) {
291-
window.self.Int32Array = Array;
292-
}
293-
294-
if (!window.self.Uint32Array) {
295-
window.self.Uint32Array = Array;
296-
}
297-
298-
if (!window.self.Float32Array) {
299-
window.self.Float32Array = Array;
300-
}
301-
302-
if (!window.self.Float64Array) {
303-
window.self.Float64Array = Array;
304-
}
305-
306274
if (!window.URL) {
307275
window.URL = window.URL || window.webkitURL || window.msURL || window.oURL;
308276
}

0 commit comments

Comments
 (0)