UNPKG

302 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.bindAll = bindAll;
7
8function 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