Add shrink-wrapped stroke_caps library

This commit is contained in:
Shaunak Kishore
2018-05-20 22:43:40 -04:00
parent b030e93011
commit 0019d47291
4076 changed files with 157178 additions and 0 deletions

20
lib/stroke_caps/node_modules/lodash/_copyArray.js generated vendored Normal file
View File

@ -0,0 +1,20 @@
/**
* Copies the values of `source` to `array`.
*
* @private
* @param {Array} source The array to copy values from.
* @param {Array} [array=[]] The array to copy values to.
* @returns {Array} Returns `array`.
*/
function copyArray(source, array) {
var index = -1,
length = source.length;
array || (array = Array(length));
while (++index < length) {
array[index] = source[index];
}
return array;
}
module.exports = copyArray;