Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/tour.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/vows.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down