Skip to content

Commit

Permalink
Corrected example
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpincin committed Dec 8, 2014
1 parent b2784ca commit 49105d9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Emit error if callback is executed with a non-null 1st argument

```
var EventEmitter = require('events').EventEmitter,
emitError = require('..')
emitError = require('emit-error')
function callback (err) {
console.log('did not get an error')
Expand All @@ -38,16 +38,6 @@ got error: Error: broke
did not get an error
```

# toc

- [api](#api)
- [emitError](#emiterror)
- [var wrappedCb = emitError(emitter, [options,] cb)](#var-wrappedcb-=-emiterroremitter-options-cb)
- [testing](#testing)
- [options](#options)
- [patterns](#patterns)
- [html coverage report](#html-coverage-report)

## api

### emitError
Expand Down

0 comments on commit 49105d9

Please sign in to comment.