Skip to content

Commit

Permalink
complete vendorize
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Oct 28, 2010
1 parent 6bd1520 commit f528bb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions index.js
@@ -1,3 +1,7 @@
require.paths.unshift("./vendor");
require("fs").readdirSync("./vendor").forEach(function(name){
require.paths.unshift("./vendor/" + name + "/lib");
});

require.paths.unshift("./lib");
module.exports = require("./lib/juggernaut");
module.exports = require("./lib/juggernaut");

2 changes: 1 addition & 1 deletion lib/juggernaut/redis.js
@@ -1,5 +1,5 @@
var url = require("url");
var redis = require("./redis");
var redis = require("redis-client");

module.exports.createClient = function(){
if (process.env.REDISTOGO_URL) {
Expand Down

0 comments on commit f528bb3

Please sign in to comment.