Permalink
Browse files

Merge branch 'master' of github.com:visionmedia/jog

  • Loading branch information...
2 parents 6422cce + 221d8b2 commit 676467c5cc14a2631c9ac965d764c1ad08fe4363 @tj committed Oct 23, 2012
Showing with 4 additions and 5 deletions.
  1. +2 −3 lib/stores/RedisStore.js
  2. +2 −2 package.json
@@ -4,8 +4,7 @@
*/
var EventEmitter = require('events').EventEmitter
- , debug = require('debug')('jog:redis')
- , redis = require('redis');
+ , debug = require('debug')('jog:redis');
/**
* Expose `RedisStore`.
@@ -22,7 +21,7 @@ module.exports = RedisStore;
*/
function RedisStore(client, key) {
- this.db = client || redis.createClient();
+ this.db = client || require('redis').createClient();
this.key = key || 'jog';
this.rangeSize = 300;
}
View
@@ -8,13 +8,13 @@
, "bin": { "jog": "./bin/jog" }
, "dependencies": {
"debug": "*",
- "redis": "0.8.1",
"commander": "0.5.2",
"ms": "0.1.0"
}
, "devDependencies": {
"mocha": "*",
- "should": "*"
+ "should": "*",
+ "redis": "0.8.1"
}
, "main": "index"
, "engines": { "node": "*" }

0 comments on commit 676467c

Please sign in to comment.