• Home
Name Date Size #Lines LOC

..--

test/12-May-2024-253224

.editorconfigD12-May-2024286 2116

.jscs.jsonD12-May-20244 KiB177114

.npmignoreD12-May-2024252 2321

.travis.ymlD12-May-20245.3 KiB169168

LICENSED12-May-20241 KiB2116

README.mdD12-May-20241.5 KiB4936

implementation.jsD12-May-20241.4 KiB5343

index.jsD12-May-2024126 63

package.jsonD12-May-20241.7 KiB6766

README.md

1# function-bind
2
3<!--
4    [![build status][travis-svg]][travis-url]
5    [![NPM version][npm-badge-svg]][npm-url]
6    [![Coverage Status][5]][6]
7    [![gemnasium Dependency Status][7]][8]
8    [![Dependency status][deps-svg]][deps-url]
9    [![Dev Dependency status][dev-deps-svg]][dev-deps-url]
10-->
11
12<!-- [![browser support][11]][12] -->
13
14Implementation of function.prototype.bind
15
16## Example
17
18I mainly do this for unit tests I run on phantomjs.
19PhantomJS does not have Function.prototype.bind :(
20
21```js
22Function.prototype.bind = require("function-bind")
23```
24
25## Installation
26
27`npm install function-bind`
28
29## Contributors
30
31 - Raynos
32
33## MIT Licenced
34
35  [travis-svg]: https://travis-ci.org/Raynos/function-bind.svg
36  [travis-url]: https://travis-ci.org/Raynos/function-bind
37  [npm-badge-svg]: https://badge.fury.io/js/function-bind.svg
38  [npm-url]: https://npmjs.org/package/function-bind
39  [5]: https://coveralls.io/repos/Raynos/function-bind/badge.png
40  [6]: https://coveralls.io/r/Raynos/function-bind
41  [7]: https://gemnasium.com/Raynos/function-bind.png
42  [8]: https://gemnasium.com/Raynos/function-bind
43  [deps-svg]: https://david-dm.org/Raynos/function-bind.svg
44  [deps-url]: https://david-dm.org/Raynos/function-bind
45  [dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg
46  [dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies
47  [11]: https://ci.testling.com/Raynos/function-bind.png
48  [12]: https://ci.testling.com/Raynos/function-bind
49