ShenNong/packages/字体精简工具/node_modules/function-bind
2024-06-21 18:44:06 +08:00
..
test 神农首次提交 2024-06-21 18:44:06 +08:00
.editorconfig 神农首次提交 2024-06-21 18:44:06 +08:00
.eslintrc 神农首次提交 2024-06-21 18:44:06 +08:00
.jscs.json 神农首次提交 2024-06-21 18:44:06 +08:00
.npmignore 神农首次提交 2024-06-21 18:44:06 +08:00
.travis.yml 神农首次提交 2024-06-21 18:44:06 +08:00
implementation.js 神农首次提交 2024-06-21 18:44:06 +08:00
index.js 神农首次提交 2024-06-21 18:44:06 +08:00
LICENSE 神农首次提交 2024-06-21 18:44:06 +08:00
package.json 神农首次提交 2024-06-21 18:44:06 +08:00
README.md 神农首次提交 2024-06-21 18:44:06 +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