caipin 262030214c cld2_react构建中 5 years atrás
..
test 262030214c cld2_react构建中 5 years atrás
.editorconfig 262030214c cld2_react构建中 5 years atrás
.eslintrc 262030214c cld2_react构建中 5 years atrás
.jscs.json 262030214c cld2_react构建中 5 years atrás
.npmignore 262030214c cld2_react构建中 5 years atrás
.travis.yml 262030214c cld2_react构建中 5 years atrás
LICENSE 262030214c cld2_react构建中 5 years atrás
README.md 262030214c cld2_react构建中 5 years atrás
implementation.js 262030214c cld2_react构建中 5 years atrás
index.js 262030214c cld2_react构建中 5 years atrás
package.json 262030214c cld2_react构建中 5 years atrás

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