kiruthiga 55473b7e7c initial push 6 dienas atpakaļ
..
test 55473b7e7c initial push 6 dienas atpakaļ
.editorconfig 55473b7e7c initial push 6 dienas atpakaļ
.eslintrc 55473b7e7c initial push 6 dienas atpakaļ
.jscs.json 55473b7e7c initial push 6 dienas atpakaļ
.npmignore 55473b7e7c initial push 6 dienas atpakaļ
.travis.yml 55473b7e7c initial push 6 dienas atpakaļ
LICENSE 55473b7e7c initial push 6 dienas atpakaļ
README.md 55473b7e7c initial push 6 dienas atpakaļ
implementation.js 55473b7e7c initial push 6 dienas atpakaļ
index.js 55473b7e7c initial push 6 dienas atpakaļ
package.json 55473b7e7c initial push 6 dienas atpakaļ

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