[Pkg-javascript-commits] [node-async] 215/480: Delete trailing commas in lists of README examples

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-async.

commit b8fa37dbdb73bb62908072240f29945b0241cf6d
Author: Cody Allen <ceedubs at gmail.com>
Date:   Tue Oct 16 07:49:01 2012 -0400

    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.
---
 README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 0151e50..f738fb0 100644
--- a/README.md
+++ b/README.md
@@ -537,7 +537,7 @@ async.series([
     function(callback){
         // do some more stuff ...
         callback(null, 'two');
-    },
+    }
 ],
 // optional callback
 function(err, results){
@@ -556,7 +556,7 @@ async.series({
         setTimeout(function(){
             callback(null, 2);
         }, 100);
-    },
+    }
 },
 function(err, results) {
     // results is now equal to: {one: 1, two: 2}
@@ -601,7 +601,7 @@ async.parallel([
         setTimeout(function(){
             callback(null, 'two');
         }, 100);
-    },
+    }
 ],
 // optional callback
 function(err, results){
@@ -621,7 +621,7 @@ async.parallel({
         setTimeout(function(){
             callback(null, 2);
         }, 100);
-    },
+    }
 },
 function(err, results) {
     // results is now equals to: {one: 1, two: 2}
@@ -925,7 +925,7 @@ async.parallel([
     },
     function(callback){
         fs.writeFile('testfile2', 'test2', callback);
-    },
+    }
 ]);
 ```
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git



More information about the Pkg-javascript-commits mailing list