-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.js
54 lines (52 loc) · 1.88 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
const Aggregate = require('./src/Aggregate');
const All = require('./src/All');
const Any = require('./src/Any');
const Concat = require('./src/Concat');
const Count = require('./src/Count');
const ElementAt = require('./src/ElementAt');
const FirstOrDefault = require('./src/FirstOrDefault');
const Empty = require('./src/Empty');
const First = require('./src/First');
const GroupJoin = require('./src/GroupJoin');
const Last = require('./src/Last');
const Min = require('./src/Min');
const Max = require('./src/Max');
const Prepend = require('./src/Prepend');
const Reverse = require('./src/Reverse');
const Select = require('./src/Select');
const SkipWhile = require('./src/SkipWhile');
const Sum = require('./src/Sum');
const TakeWhile = require('./src/TakeWhile');
const ToDictionary = require('./src/ToDictionary');
const Union = require('./src/Union');
const Where = require('./src/Where');
const Contains = require('./src/Contains');
const Repeat = require('./src/Repeat');
const bindAll = function() {
Array.prototype.Aggregate = Aggregate;
Array.prototype.All = All;
Array.prototype.Any = Any;
Array.prototype.Concat = Concat;
Array.prototype.Count = Count;
Array.prototype.ElementAt = ElementAt;
Array.prototype.FirstOrDefault = FirstOrDefault;
Array.Empty = Empty;
Array.prototype.First = First;
Array.prototype.GroupJoin = GroupJoin;
Array.prototype.Last = Last;
Array.prototype.Min = Min;
Array.prototype.Max = Max;
Array.prototype.Prepend = Prepend;
Array.prototype.Reverse = Reverse;
Array.prototype.Select = Select;
Array.prototype.SkipWhile = SkipWhile;
Array.prototype.Sum = Sum;
Array.prototype.TakeWhile = TakeWhile;
Array.prototype.ToDictionary = ToDictionary;
Array.prototype.Union = Union;
Array.prototype.Where = Where;
Array.prototype.Contains = Contains;
Array.prototype.ElementAt = ElementAt;
Array.Repeat = Repeat;
};
module.exports = bindAll;