Skip to content
This repository
Browse code

Merge pull request #115 from zhangyaochun/master

fix write bug
  • Loading branch information...
commit 116ff4055bf2f9e86c1a8c8d069addf7bb829b0d 2 parents 26ff5c1 + 7451724
Paolo Fragomeni authored March 03, 2014

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  README.md
4  README.md
Source Rendered
@@ -204,7 +204,7 @@ manipulated, e.g. to remove listeners.
204 204
     server.on('get', function(value) {
205 205
       console.log('someone connected!');
206 206
     });
207  
-    console.log(console.log(server.listeners('get')); // [ [Function] ]
  207
+    console.log(server.listeners('get')); // [ [Function] ]
208 208
 ```
209 209
 
210 210
 ### emitter.listenersAny()
@@ -216,7 +216,7 @@ specified. This array can be manipulated, e.g. to remove listeners.
216 216
     server.onAny(function(value) {
217 217
       console.log('someone connected!');
218 218
     });
219  
-    console.log(console.log(server.listenersAny()[0]); // [ [Function] ]
  219
+    console.log(server.listenersAny()[0]); // [ [Function] ]
220 220
 ```
221 221
 
222 222
 ### emitter.emit(event, [arg1], [arg2], [...])

0 notes on commit 116ff40

Please sign in to comment.
Something went wrong with that request. Please try again.