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

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