You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Alvis Zhao 919be89e06 refactor: 代码优化 5 years ago
..
test refactor: 代码优化 5 years ago
.editorconfig refactor: 代码优化 5 years ago
.eslintrc refactor: 代码优化 5 years ago
.jscs.json refactor: 代码优化 5 years ago
.npmignore refactor: 代码优化 5 years ago
.travis.yml refactor: 代码优化 5 years ago
LICENSE refactor: 代码优化 5 years ago
README.md refactor: 代码优化 5 years ago
implementation.js refactor: 代码优化 5 years ago
index.js refactor: 代码优化 5 years ago
package.json refactor: 代码优化 5 years ago

README.md

function-bind

Implementation of function.prototype.bind

Example

I mainly do this for unit tests I run on phantomjs. PhantomJS does not have Function.prototype.bind :(

Function.prototype.bind = require("function-bind")

Installation

npm install function-bind

Contributors

  • Raynos

MIT Licenced