[Pkg-javascript-commits] [node-async] 291/480: Fixed typo in compose example

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:35 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 367ec6c689d7515fd8e40029376d383552cf730d
Author: Jon Stevens <latchkey at gmail.com>
Date:   Mon Feb 25 18:34:01 2013 -0800

    Fixed typo in compose example
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f7f0164..1f141f1 100644
--- a/README.md
+++ b/README.md
@@ -814,13 +814,13 @@ __Example__
 
 ```js
 function add1(n, callback) {
-    setTimeout(function () [
+    setTimeout(function () {
         callback(null, n + 1);
     }, 10);
 }
 
 function mul3(n, callback) {
-    setTimeout(function () [
+    setTimeout(function () {
         callback(null, n * 3);
     }, 10);
 }

-- 
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