Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
i before e except after c :D
  • Loading branch information
tay authored Sep 30, 2016
1 parent 3716e99 commit a0932af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ As an example, we are going to preform a GET request to [www.random.org/integers
callback = function(response) {
var str = '';

//another chunk of data has been recieved, so append it to `str`
//another chunk of data has been received, so append it to `str`
response.on('data', function (chunk) {
str += chunk;
});

//the whole response has been recieved, so we just print it out here
//the whole response has been received, so we just print it out here
response.on('end', function () {
console.log(str);
});
Expand Down

0 comments on commit a0932af

Please sign in to comment.