Permalink
Browse files

Fixed instance new call

  • Loading branch information...
1 parent b9b74df commit bca597eca0339b5e497e159cbf721f1b243c0880 @niftylettuce niftylettuce committed Aug 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/main.js
View
@@ -156,6 +156,6 @@ var EmailTemplate = function(templateDirectory, defaults, done) {
});
};
-module.exports = function(templateDirectory, done) {
- return new EmailTemplate(templateDirectory, done);
+module.exports = function(templateDirectory, defaults, done) {
+ return new EmailTemplate(templateDirectory, defaults, done);
};

0 comments on commit bca597e

Please sign in to comment.