xusl 2be7077787 初始化 hai 1 ano
..
test 2be7077787 初始化 hai 1 ano
.editorconfig 2be7077787 初始化 hai 1 ano
.eslintrc 2be7077787 初始化 hai 1 ano
.jscs.json 2be7077787 初始化 hai 1 ano
.npmignore 2be7077787 初始化 hai 1 ano
.travis.yml 2be7077787 初始化 hai 1 ano
LICENSE 2be7077787 初始化 hai 1 ano
README.md 2be7077787 初始化 hai 1 ano
implementation.js 2be7077787 初始化 hai 1 ano
index.js 2be7077787 初始化 hai 1 ano
package.json 2be7077787 初始化 hai 1 ano

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