0.1.0 • Published 9 years ago
bind-ponyfill v0.1.0
bind-ponyfill
Binds a function to a specified context and arguments.
Installation
npm install --save bind-ponyfill
Usage
var bind = require('bind-ponyfill');
bind(function() {
console.log(this);
}, 'Hello world!');
License
MIT
0.1.0
9 years ago