UNPKG
abind
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Auto bind instance methods of classes.
github.com/a-labo/abind
a-labo/abind
abind
/
lib
/
index.js
18 lines
(12 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * Auto bind instance methods of classes. *
@module
abind
*
@version
1.0.5 */
'use strict'
const
abind =
require
(
'./abind'
)
let
lib = abind.
bind
(
this
)
Object
.
assign
(lib, abind, { abind })
module
.
exports
= lib