-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.js
85 lines (83 loc) · 3.09 KB
/
index.js
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
const Aggregate = require('./src/Aggregate');
const All = require('./src/All');
const Any = require('./src/Any');
const Append = require('./src/Append');
const Average = require('./src/Average');
const Concat = require('./src/Concat');
const Contains = require('./src/Contains');
const Count = require('./src/Count');
const Distinct = require('./src/Distinct');
const ElementAt = require('./src/ElementAt');
const Empty = require('./src/Empty');
const Except = require('./src/Except');
const First = require('./src/First');
const FirstOrDefault = require('./src/FirstOrDefault');
const GroupBy = require('./src/GroupBy');
const GroupJoin = require('./src/GroupJoin');
const Intersect = require('./src/Intersect');
const Join = require('./src/Join');
const Last = require('./src/Last');
const Min = require('./src/Min');
const Max = require('./src/Max');
const OrderBy = require('./src/OrderBy');
const OrderByDescending = require('./src/OrderByDescending');
const Prepend = require('./src/Prepend');
const Range = require('./src/Range');
const Repeat = require('./src/Repeat');
const Reverse = require('./src/Reverse');
const Select = require('./src/Select');
const SequenceEqual = require('./src/SequenceEqual');
const Single = require('./src/Single');
const SkipLast = require('./src/SkipLast');
const SkipWhile = require('./src/SkipWhile');
const Sum = require('./src/Sum');
const Take = require('./src/Take');
const TakeLast = require('./src/TakeLast');
const TakeWhile = require('./src/TakeWhile');
const ToDictionary = require('./src/ToDictionary');
const Union = require('./src/Union');
const Where = require('./src/Where');
const Zip = require('./src/Zip');
const bindAll = function() {
Array.prototype.Aggregate = Aggregate;
Array.prototype.All = All;
Array.prototype.Any = Any;
Array.prototype.Append = Append;
Array.prototype.Average = Average;
Array.prototype.Concat = Concat;
Array.prototype.Contains = Contains;
Array.prototype.Count = Count;
Array.prototype.Distinct = Distinct;
Array.prototype.ElementAt = ElementAt;
Array.Empty = Empty;
Array.prototype.Except = Except;
Array.prototype.First = First;
Array.prototype.FirstOrDefault = FirstOrDefault;
Array.prototype.GroupBy = GroupBy;
Array.prototype.GroupJoin = GroupJoin;
Array.prototype.Intersect = Intersect;
Array.prototype.Join = Join;
Array.prototype.Last = Last;
Array.prototype.Min = Min;
Array.prototype.Max = Max;
Array.prototype.OrderBy = OrderBy;
Array.prototype.OrderByDescending = OrderByDescending;
Array.prototype.Prepend = Prepend;
Array.Range = Range;
Array.Repeat = Repeat;
Array.prototype.Reverse = Reverse;
Array.prototype.Select = Select;
Array.prototype.SequenceEqual = SequenceEqual;
Array.prototype.Single = Single;
Array.prototype.SkipLast = SkipLast;
Array.prototype.SkipWhile = SkipWhile;
Array.prototype.Sum = Sum;
Array.prototype.Take = Take;
Array.prototype.TakeLast = TakeLast;
Array.prototype.TakeWhile = TakeWhile;
Array.prototype.ToDictionary = ToDictionary;
Array.prototype.Union = Union;
Array.prototype.Where = Where;
Array.prototype.Zip = Zip;
};
module.exports = bindAll;