Skip to content

Commit

Permalink
Coveralls badge in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzer committed Dec 27, 2014
1 parent b312b6f commit 1db3f4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
solicitor-js
============
[![Build Status](https://travis-ci.org/sazzer/solicitor-js.svg?branch=master)](https://travis-ci.org/sazzer/solicitor-js)
[![Coverage Status](https://coveralls.io/repos/sazzer/solicitor-js/badge.png?branch=master)](https://coveralls.io/r/sazzer/solicitor-js?branch=master)

Design By Contract for your Javascript code

Expand Down Expand Up @@ -111,4 +112,4 @@ As with Filler Words, if you want more Check Words you can register your own by

In this case, you need to provide a function that will be used to check the value. The function will always be provided the value to check as the first parameter, and if it is an advanced check then the values passed in to the function will come after this. Note that it's technically possible to register an advanced check that takes no parameters. It will work exactly the same as a simple check then, but you will need to append the () in your contract definition, which breaks the flow when reading it.

Alternatively, add the words to lib/checks.js and submit a pull request ;)
Alternatively, add the words to lib/checks.js and submit a pull request ;)

0 comments on commit 1db3f4d

Please sign in to comment.