mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.0.0.
This commit is contained in:
29
array.js
29
array.js
@@ -1,8 +1,11 @@
|
||||
define(['./array/chunk', './array/compact', './array/difference', './array/drop', './array/dropRight', './array/dropRightWhile', './array/dropWhile', './array/fill', './array/findIndex', './array/findLastIndex', './array/first', './array/flatten', './array/flattenDeep', './array/head', './array/indexOf', './array/initial', './array/intersection', './array/last', './array/lastIndexOf', './array/object', './array/pull', './array/pullAt', './array/remove', './array/rest', './array/slice', './array/sortedIndex', './array/sortedLastIndex', './array/tail', './array/take', './array/takeRight', './array/takeRightWhile', './array/takeWhile', './array/union', './array/uniq', './array/unique', './array/unzip', './array/unzipWith', './array/without', './array/xor', './array/zip', './array/zipObject', './array/zipWith'], function(chunk, compact, difference, drop, dropRight, dropRightWhile, dropWhile, fill, findIndex, findLastIndex, first, flatten, flattenDeep, head, indexOf, initial, intersection, last, lastIndexOf, object, pull, pullAt, remove, rest, slice, sortedIndex, sortedLastIndex, tail, take, takeRight, takeRightWhile, takeWhile, union, uniq, unique, unzip, unzipWith, without, xor, zip, zipObject, zipWith) {
|
||||
define(['./chunk', './compact', './concat', './difference', './differenceBy', './differenceWith', './drop', './dropRight', './dropRightWhile', './dropWhile', './fill', './findIndex', './findLastIndex', './flatMap', './flatten', './flattenDeep', './fromPairs', './head', './indexOf', './initial', './intersection', './intersectionBy', './intersectionWith', './join', './last', './lastIndexOf', './pull', './pullAll', './pullAllBy', './pullAt', './remove', './reverse', './slice', './sortedIndex', './sortedIndexBy', './sortedIndexOf', './sortedLastIndex', './sortedLastIndexBy', './sortedLastIndexOf', './sortedUniq', './sortedUniqBy', './tail', './take', './takeRight', './takeRightWhile', './takeWhile', './union', './unionBy', './unionWith', './uniq', './uniqBy', './uniqWith', './unzip', './unzipWith', './without', './xor', './xorBy', './xorWith', './zip', './zipObject', './zipWith'], function(chunk, compact, concat, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, fill, findIndex, findLastIndex, flatMap, flatten, flattenDeep, fromPairs, head, indexOf, initial, intersection, intersectionBy, intersectionWith, join, last, lastIndexOf, pull, pullAll, pullAllBy, pullAt, remove, reverse, slice, sortedIndex, sortedIndexBy, sortedIndexOf, sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq, sortedUniqBy, tail, take, takeRight, takeRightWhile, takeWhile, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, without, xor, xorBy, xorWith, zip, zipObject, zipWith) {
|
||||
return {
|
||||
'chunk': chunk,
|
||||
'compact': compact,
|
||||
'concat': concat,
|
||||
'difference': difference,
|
||||
'differenceBy': differenceBy,
|
||||
'differenceWith': differenceWith,
|
||||
'drop': drop,
|
||||
'dropRight': dropRight,
|
||||
'dropRightWhile': dropRightWhile,
|
||||
@@ -10,35 +13,51 @@ define(['./array/chunk', './array/compact', './array/difference', './array/drop'
|
||||
'fill': fill,
|
||||
'findIndex': findIndex,
|
||||
'findLastIndex': findLastIndex,
|
||||
'first': first,
|
||||
'flatMap': flatMap,
|
||||
'flatten': flatten,
|
||||
'flattenDeep': flattenDeep,
|
||||
'fromPairs': fromPairs,
|
||||
'head': head,
|
||||
'indexOf': indexOf,
|
||||
'initial': initial,
|
||||
'intersection': intersection,
|
||||
'intersectionBy': intersectionBy,
|
||||
'intersectionWith': intersectionWith,
|
||||
'join': join,
|
||||
'last': last,
|
||||
'lastIndexOf': lastIndexOf,
|
||||
'object': object,
|
||||
'pull': pull,
|
||||
'pullAll': pullAll,
|
||||
'pullAllBy': pullAllBy,
|
||||
'pullAt': pullAt,
|
||||
'remove': remove,
|
||||
'rest': rest,
|
||||
'reverse': reverse,
|
||||
'slice': slice,
|
||||
'sortedIndex': sortedIndex,
|
||||
'sortedIndexBy': sortedIndexBy,
|
||||
'sortedIndexOf': sortedIndexOf,
|
||||
'sortedLastIndex': sortedLastIndex,
|
||||
'sortedLastIndexBy': sortedLastIndexBy,
|
||||
'sortedLastIndexOf': sortedLastIndexOf,
|
||||
'sortedUniq': sortedUniq,
|
||||
'sortedUniqBy': sortedUniqBy,
|
||||
'tail': tail,
|
||||
'take': take,
|
||||
'takeRight': takeRight,
|
||||
'takeRightWhile': takeRightWhile,
|
||||
'takeWhile': takeWhile,
|
||||
'union': union,
|
||||
'unionBy': unionBy,
|
||||
'unionWith': unionWith,
|
||||
'uniq': uniq,
|
||||
'unique': unique,
|
||||
'uniqBy': uniqBy,
|
||||
'uniqWith': uniqWith,
|
||||
'unzip': unzip,
|
||||
'unzipWith': unzipWith,
|
||||
'without': without,
|
||||
'xor': xor,
|
||||
'xorBy': xorBy,
|
||||
'xorWith': xorWith,
|
||||
'zip': zip,
|
||||
'zipObject': zipObject,
|
||||
'zipWith': zipWith
|
||||
|
||||
Reference in New Issue
Block a user