Skip to content

Instantly share code, notes, and snippets.

@schamane
Created June 4, 2010 09:20
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 schamane/425190 to your computer and use it in GitHub Desktop.
Save schamane/425190 to your computer and use it in GitHub Desktop.
[
'mongoose'
].forEach(function(path){
var module = require('./' + path);
for (var i in module)
exports[i] = module[i];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment