Skip to content

Instantly share code, notes, and snippets.

@slickplaid
Created June 2, 2011 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slickplaid/1004131 to your computer and use it in GitHub Desktop.
Save slickplaid/1004131 to your computer and use it in GitHub Desktop.
Fixed :)
module.exports.doSomething = function(redis){
redis.doSomethingWithRedis;
}
// required module I want to use
var redis = require('redis'),
myscript = require('./myscript');
myscript.doSomething(redis);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment