[Pkg-javascript-commits] [node-mocks-http] 256/296: Updated the example of how to use the EventEmitter API
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 47c452b0ce40d46dee45fc12bf9c6520fdeda0f5
Author: xescuGC <xescugil at gmail.com>
Date: Sat Jul 4 21:24:27 2015 +0200
Updated the example of how to use the EventEmitter API
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index fc6c2b1..6008e3c 100644
--- a/README.md
+++ b/README.md
@@ -120,7 +120,7 @@ wish to test your event handlers you will need to bring your own event emitter.
```js
var httpMocks = require('node-mocks-http');
var res = httpMocks.createResponse({
- EventEmitter: require('events').EventEmitter;
+ eventEmitter: require('events').EventEmitter
});
// ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list