summaryrefslogtreecommitdiff
path: root/alarm/node_modules/lodash/_cloneArrayBuffer.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/lodash/_cloneArrayBuffer.js')
-rw-r--r--alarm/node_modules/lodash/_cloneArrayBuffer.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/alarm/node_modules/lodash/_cloneArrayBuffer.js b/alarm/node_modules/lodash/_cloneArrayBuffer.js
deleted file mode 100644
index c3d8f6e..0000000
--- a/alarm/node_modules/lodash/_cloneArrayBuffer.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var Uint8Array = require('./_Uint8Array');
-
-/**
- * Creates a clone of `arrayBuffer`.
- *
- * @private
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
- * @returns {ArrayBuffer} Returns the cloned array buffer.
- */
-function cloneArrayBuffer(arrayBuffer) {
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
- return result;
-}
-
-module.exports = cloneArrayBuffer;