Skip to content

Commit

Permalink
Removed extra whitespace in example, didn't look that good afterall
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Mar 27, 2013
1 parent b256a91 commit dcec5d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -35,16 +35,16 @@ var asyncMethod = function(x,y,next){
}

// Call the synchronous function asynchronously
result = ambi(syncMethod, 5, 2, function(err,result){ // ambi adds support for this asynchronous callback automatically
console.log(err, result) // null, 10
result = ambi(syncMethod, 5, 2, function(err,result){ // ambi adds support for this asynchronous callback automatically
console.log(err, result) // null, 10
})
console.log(result) // 10 - just like normal
console.log(result) // 10 - just like normal

// Call the asynchronous function asynchronously
result = ambi(asyncMethod, 5, 2, function(err,result){ // ambi doesn't do anything special here
console.log(err, result) // null, 10
result = ambi(asyncMethod, 5, 2, function(err,result){ // ambi doesn't do anything special here
console.log(err, result) // null, 10
})
console.log(result) // setTimeout - just like normal
console.log(result) // setTimeout - just like normal
```


Expand Down

0 comments on commit dcec5d8

Please sign in to comment.