Skip to content
Browse files

Replaced deprecated `sys` calls with `console.log` and `console.dir`.

  • Loading branch information...
1 parent b989903 commit 1571911b15a5004b9561188a98c7965716ee0b8d @xavi- xavi- committed Apr 30, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.markdown
View
6 README.markdown
@@ -39,8 +39,8 @@ Also there is support for parallel actions:
// Show the result when done
function showStuff(err, code, users) {
if (err) throw err;
- sys.puts(code);
- sys.puts(users);
+ console.log(code);
+ console.log(users);
}
)
@@ -64,7 +64,7 @@ Also you can use group with a dynamic number of common tasks.
},
function showAll(err , files) {
if (err) throw err;
- sys.p(files);
+ console.dir(files);
}
);

0 comments on commit 1571911

Please sign in to comment.
Something went wrong with that request. Please try again.