We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc95a0 commit 7461cc7Copy full SHA for 7461cc7
js/load-image-meta.js
@@ -36,7 +36,8 @@
36
Blob.prototype.mozSlice)
37
38
loadImage.bufferSlice =
39
- loadImage.global.ArrayBuffer.prototype.slice ||
+ (loadImage.global.ArrayBuffer &&
40
+ loadImage.global.ArrayBuffer.prototype.slice) ||
41
function (begin, end) {
42
// Polyfill for IE10, which does not support ArrayBuffer.slice
43
// eslint-disable-next-line no-param-reassign
0 commit comments