GamePortrait/node_modules/function-bind
2026-01-16 17:47:53 +08:00
..
test Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
.editorconfig Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
.eslintrc Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
.jscs.json Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
.npmignore Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
.travis.yml Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
implementation.js Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
index.js Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
LICENSE Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
package.json Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
README.md Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00

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