Skip to content

Commit 503cb12

Browse files
maxnordlundljharb
authored andcommitted
Docs: enable badges; update wording
Enable badges Gemnasium has been closed since it was acquired by GitLab, thus it is removed. The build and coverage links don't work, but that might be caused by an configuration issue, so they are left as disabled for now. https://docs.gitlab.com/ee/user/project/import/gemnasium.html Update wording regarding phantomjs support While old version does not support Function.prototype.bind, the latest (2.1.1) does. Phantomjs is also no longer in development, so it's safe to assume it will stay the same. Even if it becomes active, it most likely won't go back to an older, unsupporting, version of QT/WebKit. http://phantomjs.org/release-2.1.html ariya/phantomjs#15344
1 parent 1213f80 commit 503cb12

File tree

1 file changed

+14
-27
lines changed

1 file changed

+14
-27
lines changed

README.md

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
# function-bind
1+
[![npm version][npm-badge-svg]][npm-url]
2+
[![Dependency status][deps-svg]][deps-url]
3+
[![Dev Dependency status][dev-deps-svg]][dev-deps-url]
24

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-
-->
115

12-
<!-- [![browser support][11]][12] -->
6+
# function-bind
137

148
Implementation of function.prototype.bind
159

16-
## Example
10+
Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support `Function.prototype.bind`.
1711

18-
I mainly do this for unit tests I run on phantomjs.
19-
PhantomJS does not have Function.prototype.bind :(
12+
## Example
2013

2114
```js
2215
Function.prototype.bind = require("function-bind")
@@ -32,17 +25,11 @@ Function.prototype.bind = require("function-bind")
3225

3326
## MIT Licenced
3427

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
28+
[travis-svg]: https://travis-ci.org/Raynos/function-bind.svg
29+
[travis-url]: https://travis-ci.org/Raynos/function-bind
30+
[npm-badge-svg]: https://badge.fury.io/js/function-bind.svg
31+
[npm-url]: https://npmjs.org/package/function-bind
32+
[deps-svg]: https://david-dm.org/Raynos/function-bind.svg
33+
[deps-url]: https://david-dm.org/Raynos/function-bind
34+
[dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg
35+
[dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies

0 commit comments

Comments
 (0)