diff --git a/README.md b/README.md index 2f7195d..4713e19 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Blog post coming. ### A Quick Tour // See ./examples/tour.js - var sys = require("sys"); + var util = require('util'); var redis = require("redis-node"); var client = redis.createClient(); // Create the client client.select(2); // Select database 2 @@ -40,7 +40,7 @@ Blog post coming. // The commands are also idiomatic client.hmset("hash", { t: "rex", steg: "asaurus" }, function (err, status) { if (err) throw err; - sys.log(status); // true + util.log(status); // true }); // Support for transactions diff --git a/examples/tour.js b/examples/tour.js index 4278a03..5d3b7bd 100644 --- a/examples/tour.js +++ b/examples/tour.js @@ -1,6 +1,6 @@ // Run using // node examples/tour.js -var sys = require("sys"); +var util = require('util'); var redis = require("redis-node"); var client = redis.createClient(); // Create the client client.select(2); // Select database 2 @@ -22,7 +22,7 @@ client.set("hello", "world"); // The commands are also idiomatic client.hmset("hash", { t: "rex", steg: "asaurus" }, function (err, status) { if (err) throw err; - sys.log(status); // true + util.log(status); // true }); // Support for transactions diff --git a/test/vows.js b/test/vows.js index ee7d164..50b3298 100644 --- a/test/vows.js +++ b/test/vows.js @@ -2,7 +2,7 @@ // TODO Allow passing of arrays to mset // TODO Test sort with STORE option -var sys = require("sys"), +var util = require('util'), vows = require("vows"), assert = require("assert"), redis = require("../lib/redis"),