zz 65c8a28f48 项目初始化 2 days ago
..
test 65c8a28f48 项目初始化 2 days ago
.editorconfig 65c8a28f48 项目初始化 2 days ago
.eslintrc 65c8a28f48 项目初始化 2 days ago
.jscs.json 65c8a28f48 项目初始化 2 days ago
.npmignore 65c8a28f48 项目初始化 2 days ago
.travis.yml 65c8a28f48 项目初始化 2 days ago
LICENSE 65c8a28f48 项目初始化 2 days ago
README.md 65c8a28f48 项目初始化 2 days ago
implementation.js 65c8a28f48 项目初始化 2 days ago
index.js 65c8a28f48 项目初始化 2 days ago
package.json 65c8a28f48 项目初始化 2 days ago

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