node/tools/eslint/node_modules/function-bind/README.md
Vse Mozhet Byt e5ca046c0a
build, doc, tools: add eslint-plugin-markdown
* Install eslint-plugin-markdown@1.0.0-beta.7
* Add doc/.eslintrc.yaml
* Add `plugins: [markdown]` to the main .eslintrc.yaml
* .js files in doc folder added to .eslintignore
* Update Makefile, vcbuild.bat, and tools/jslint.js

Refs: https://github.com/nodejs/node/pull/12563
Refs: https://github.com/nodejs/node/pull/12640
Refs: https://github.com/nodejs/node/pull/14047

PR-URL: https://github.com/nodejs/node/pull/14067
Reviewed-By: James Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2017-07-30 23:11:10 -05:00

1.5 KiB

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