Handy_Cao 6934691a7d 代码提交; il y a 3 ans
..
test 6934691a7d 代码提交; il y a 3 ans
.editorconfig 6934691a7d 代码提交; il y a 3 ans
.eslintrc 6934691a7d 代码提交; il y a 3 ans
.jscs.json 6934691a7d 代码提交; il y a 3 ans
.npmignore 6934691a7d 代码提交; il y a 3 ans
.travis.yml 6934691a7d 代码提交; il y a 3 ans
LICENSE 6934691a7d 代码提交; il y a 3 ans
README.md 6934691a7d 代码提交; il y a 3 ans
implementation.js 6934691a7d 代码提交; il y a 3 ans
index.js 6934691a7d 代码提交; il y a 3 ans
package.json 6934691a7d 代码提交; il y a 3 ans

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