Permalink
Browse files

loade module is now Loader instance

  • Loading branch information...
1 parent 8ba1db3 commit 69235f7eab470cabc1732b620fbceeb563c4bcd6 @jwerle committed Jan 1, 2013
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/Loader.js
  2. +1 −1 package.json
View
@@ -71,4 +71,5 @@ loader.Loader.prototype.load = function(directory, exts, excluded){
return loaded;
};
-module.exports = loader;
+module.exports = new loader.Loader();
+module.exports.Loader = loader.Loader
View
@@ -1,6 +1,6 @@
{
"name": "auto-loader",
- "version": "0.0.8",
+ "version": "0.0.9",
"description": "",
"keywords": [
"node",

0 comments on commit 69235f7

Please sign in to comment.