Skip to content

Instantly share code, notes, and snippets.

@schamane
Created June 4, 2010 09:20
Show Gist options
  • Select an option

  • Save schamane/425190 to your computer and use it in GitHub Desktop.

Select an option

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