ShenNong_Simple/packages/字体精简工具/node_modules/function-bind
2024-10-30 15:28:42 +08:00
..
test 神农简化版 2024-10-30 15:28:42 +08:00
.editorconfig 神农简化版 2024-10-30 15:28:42 +08:00
.eslintrc 神农简化版 2024-10-30 15:28:42 +08:00
.jscs.json 神农简化版 2024-10-30 15:28:42 +08:00
.npmignore 神农简化版 2024-10-30 15:28:42 +08:00
.travis.yml 神农简化版 2024-10-30 15:28:42 +08:00
implementation.js 神农简化版 2024-10-30 15:28:42 +08:00
index.js 神农简化版 2024-10-30 15:28:42 +08:00
LICENSE 神农简化版 2024-10-30 15:28:42 +08:00
package.json 神农简化版 2024-10-30 15:28:42 +08:00
README.md 神农简化版 2024-10-30 15:28:42 +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