array.js
2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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) {
return {
'chunk': chunk,
'compact': compact,
'difference': difference,
'drop': drop,
'dropRight': dropRight,
'dropRightWhile': dropRightWhile,
'dropWhile': dropWhile,
'fill': fill,
'findIndex': findIndex,
'findLastIndex': findLastIndex,
'first': first,
'flatten': flatten,
'flattenDeep': flattenDeep,
'head': head,
'indexOf': indexOf,
'initial': initial,
'intersection': intersection,
'last': last,
'lastIndexOf': lastIndexOf,
'object': object,
'pull': pull,
'pullAt': pullAt,
'remove': remove,
'rest': rest,
'slice': slice,
'sortedIndex': sortedIndex,
'sortedLastIndex': sortedLastIndex,
'tail': tail,
'take': take,
'takeRight': takeRight,
'takeRightWhile': takeRightWhile,
'takeWhile': takeWhile,
'union': union,
'uniq': uniq,
'unique': unique,
'unzip': unzip,
'unzipWith': unzipWith,
'without': without,
'xor': xor,
'zip': zip,
'zipObject': zipObject,
'zipWith': zipWith
};
});