Skip to content

Commit

Permalink
Simplify the hamlet callback
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Dec 28, 2015
1 parent 3114fd8 commit 53caed2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ var hamlet = require('hamlet');
exports.name = 'hamlet';
exports.outputFormat = 'html';

exports.compile = function (str, opts) {
return hamlet.compile(str, opts);
};
exports.compile = hamlet.compile;

0 comments on commit 53caed2

Please sign in to comment.