Fix a couple minor errors in README examples #188

merged 2 commits into from Jan 31, 2013


None yet
2 participants

ceedubs commented Oct 16, 2012

Most of the examples of async.parallel correctly show the callback as taking (err, results), but one of them just shows (results). This would not work well if somebody followed it as an example.

Also, several of the examples have trailing commas in their arrays. I know this will make IE angry, and possibly other JS engines.

ceedubs added some commits Oct 16, 2012

Delete trailing commas in lists of README examples
Some, if not all, versions of IE will fail on trailing commas. I don't know, but it might be a problem for some other JS engines as well.

caolan added a commit that referenced this pull request Jan 31, 2013

Merge pull request #188 from ceedubs/master
Fix a couple minor errors in README examples

@caolan caolan merged commit bbfed60 into caolan:master Jan 31, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment