Created
June 2, 2011 08:50
-
-
Save slickplaid/1004131 to your computer and use it in GitHub Desktop.
Fixed :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.doSomething = function(redis){ | |
redis.doSomethingWithRedis; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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