angular.copy typed array workaround
This commit is contained in:
parent
3a283f5494
commit
a5ab8f0937
2
app/vendor/angular/angular.js
vendored
2
app/vendor/angular/angular.js
vendored
@ -971,7 +971,7 @@ function copy(source, destination) {
|
||||
case '[object Uint8ClampedArray]':
|
||||
case '[object Uint16Array]':
|
||||
case '[object Uint32Array]':
|
||||
return new source.constructor(copyElement(source.buffer));
|
||||
return new source.constructor(copyElement(source.buffer), source.byteOffset, source.length);
|
||||
|
||||
case '[object ArrayBuffer]':
|
||||
//Support: IE10
|
||||
|
Loading…
Reference in New Issue
Block a user