X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Funcss%2Fnode_modules%2Flodash%2Fzip.js;fp=node_modules%2Funcss%2Fnode_modules%2Flodash%2Fzip.js;h=2300a2bfd03fb01749c5be7ebcc48be0e7c21556;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/uncss/node_modules/lodash/zip.js b/node_modules/uncss/node_modules/lodash/zip.js new file mode 100644 index 000000000..2300a2bfd --- /dev/null +++ b/node_modules/uncss/node_modules/lodash/zip.js @@ -0,0 +1,21 @@ +var rest = require('./rest'), + unzip = require('./unzip'); + +/** + * Creates an array of grouped elements, the first of which contains the first + * elements of the given arrays, the second of which contains the second elements + * of the given arrays, and so on. + * + * @static + * @memberOf _ + * @category Array + * @param {...Array} [arrays] The arrays to process. + * @returns {Array} Returns the new array of grouped elements. + * @example + * + * _.zip(['fred', 'barney'], [30, 40], [true, false]); + * // => [['fred', 30, true], ['barney', 40, false]] + */ +var zip = rest(unzip); + +module.exports = zip;