* 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>
1.5 KiB
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