Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix README.md async timeout interval ms typo #279

Merged
merged 1 commit into from

2 participants

@coderigo

After using the first async example in the README.md and failing to get it to work I re-read the text above it and got it to work by changing the location of the timeout parameter value.
I think it may be a typo in the REDME.

Thanks

@tebriel

Thanks!

@tebriel tebriel merged commit d70424d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 16, 2014
  1. @coderigo
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -130,8 +130,8 @@ var request = require('request');
it("should respond with hello world", function(done) {
request("http://localhost:3000/hello", function(error, response, body){
done();
- }, 250); // timeout after 250 ms
-});
+ });
+}, 250); // timeout after 250 ms
```
or
Something went wrong with that request. Please try again.