TransFlow/node_modules/function-bind
何嘉峣 d0b8157bbe 代码提交 2022-12-15 10:56:04 +08:00
..
test 代码提交 2022-12-15 10:56:04 +08:00
.editorconfig 代码提交 2022-12-15 10:56:04 +08:00
.eslintrc 代码提交 2022-12-15 10:56:04 +08:00
.jscs.json 代码提交 2022-12-15 10:56:04 +08:00
.npmignore 代码提交 2022-12-15 10:56:04 +08:00
.travis.yml 代码提交 2022-12-15 10:56:04 +08:00
LICENSE 代码提交 2022-12-15 10:56:04 +08:00
README.md 代码提交 2022-12-15 10:56:04 +08:00
implementation.js 代码提交 2022-12-15 10:56:04 +08:00
index.js 代码提交 2022-12-15 10:56:04 +08:00
package.json 代码提交 2022-12-15 10:56:04 +08:00

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