1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.bindAll = bindAll;
|
7 |
|
8 | function bindAll(fns, context) {
|
9 | fns.forEach(function (fn) {
|
10 | if (!context[fn]) {
|
11 | return;
|
12 | }
|
13 |
|
14 | context[fn] = context[fn].bind(context);
|
15 | });
|
16 | }
|
17 | //# sourceMappingURL=event.js.map |
\ | No newline at end of file |