bind-fn
1.0.1 • Public • Published bind-fn
Very small module to make binding functions easier.
Eg. instead of repeating the context in
var f = obj.func.bind(obj);
we can just do
var bind = require('bind-fn');
var f = bind(obj, 'func');
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
0
Version History
Package Sidebar
Install
Weekly Downloads