Skip to content

Instantly share code, notes, and snippets.

@slickplaid
Created June 8, 2011 19:11
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/1015125 to your computer and use it in GitHub Desktop.
Save slickplaid/1015125 to your computer and use it in GitHub Desktop.
// core
var test = require('test');
test.bob();
// test file
var bob = require('bob');
var test = { bob: bob }
module.exports = test;
// bob file
var bob = function(){
// do something
}
module.exports = bob;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment