sakuya/node_modules/function-bind
2022-04-10 00:37:53 +08:00
..
test 整理桌面 2022-04-10 00:37:53 +08:00
.editorconfig 整理桌面 2022-04-10 00:37:53 +08:00
.eslintrc 整理桌面 2022-04-10 00:37:53 +08:00
.jscs.json 整理桌面 2022-04-10 00:37:53 +08:00
.npmignore 整理桌面 2022-04-10 00:37:53 +08:00
.travis.yml 整理桌面 2022-04-10 00:37:53 +08:00
implementation.js 整理桌面 2022-04-10 00:37:53 +08:00
index.js 整理桌面 2022-04-10 00:37:53 +08:00
LICENSE 整理桌面 2022-04-10 00:37:53 +08:00
package.json 整理桌面 2022-04-10 00:37:53 +08:00
README.md 整理桌面 2022-04-10 00:37:53 +08:00

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