[Pkg-javascript-commits] [node-mocks-http] 268/296: Fix example in README.md

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Feb 8 18:13:43 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 edd6731c51112cfa21e08c269a590ed66cb38849
Author: Esteban <invernizzie at users.noreply.github.com>
Date:   Wed Sep 30 09:39:15 2015 -0300

    Fix example in README.md
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index dd20d07..2f0e559 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