Bump to v4.3.0.

This commit is contained in:
John-David Dalton
2016-02-07 23:23:22 -08:00
parent f18e5950b9
commit 8bff780a94
44 changed files with 347 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
import cloneBuffer from './_cloneBuffer';
import cloneArrayBuffer from './_cloneArrayBuffer';
/**
* Creates a clone of `typedArray`.
@@ -12,7 +12,7 @@ function cloneTypedArray(typedArray, isDeep) {
var buffer = typedArray.buffer,
Ctor = typedArray.constructor;
return new Ctor(isDeep ? cloneBuffer(buffer) : buffer, typedArray.byteOffset, typedArray.length);
return new Ctor(isDeep ? cloneArrayBuffer(buffer) : buffer, typedArray.byteOffset, typedArray.length);
}
export default cloneTypedArray;