Skip to content

Commit

Permalink
README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Aug 24, 2012
1 parent 1dc4a7a commit ce1d058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nodejs-coverage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Example

var coverage = require('yuitest-coverage');

coverage.cover('/path/to/file', {
coverage.cover('<file string to cover>', {
charset: 'utf8',
name: 'A name for the file'
name: 'A name for the file in the output'
},
function(err, data) {
//err will be populated with the stderr from the java process
//data will be a string of the covered contents, you write the file out
});

coverage.cover('<string from a file>', callback); // also works
coverage.cover('</path/to/file>', callback); // also works

```

0 comments on commit ce1d058

Please sign in to comment.