-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.js
35 lines (33 loc) · 1.18 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
const Aggregate = require('./src/Aggregate');
const All = require('./src/All');
const Concat = require('./src/Concat');
const Count = require('./src/Count');
const ElementAt = require('./src/ElementAt');
const First = require('./src/First');
const Last = require('./src/Last');
const Prepend = require('./src/Prepend');
const Reverse = require('./src/Reverse');
const Select = require('./src/Select');
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 bindAll = function() {
Array.prototype.Aggregate = Aggregate;
Array.prototype.All = All;
Array.prototype.Concat = Concat;
Array.prototype.Count = Count;
Array.prototype.ElementAt = ElementAt;
Array.prototype.First = First;
Array.prototype.Last = Last;
Array.prototype.Prepend = Prepend;
Array.prototype.Reverse = Reverse;
Array.prototype.Select = Select;
Array.prototype.Sum = Sum;
Array.prototype.TakeWhile = TakeWhile;
Array.prototype.ToDictionary = ToDictionary;
Array.prototype.Union = Union;
Array.prototype.Where = Where;
};
module.exports = bindAll;