mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Bump to v4.3.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
define(['./_cloneBuffer'], function(cloneBuffer) {
|
||||
define(['./_cloneArrayBuffer'], function(cloneArrayBuffer) {
|
||||
|
||||
/**
|
||||
* Creates a clone of `typedArray`.
|
||||
@@ -12,7 +12,7 @@ define(['./_cloneBuffer'], function(cloneBuffer) {
|
||||
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);
|
||||
}
|
||||
|
||||
return cloneTypedArray;
|
||||
|
||||
Reference in New Issue
Block a user