Skip to content

Commit

Permalink
minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Mar 19, 2013
1 parent 369ce44 commit 922e7fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/hbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ var path = require('path');
// handle async helpers
var async = require('./async');


var Instance = function() {
// expose handlebars, allows users to use their versions
// by overriding this early in their apps
Expand Down Expand Up @@ -152,8 +151,6 @@ Instance.prototype.compile = function (str, options) {
};
};

// expose useful methods

Instance.prototype.registerHelper = function () {
this.handlebars.registerHelper.apply(this.handlebars, arguments);
};
Expand All @@ -168,7 +165,6 @@ Instance.prototype.registerAsyncHelper = function(name, fn) {
});
};


module.exports = new Instance();
module.exports.create = function() {
return new Instance();
Expand Down

0 comments on commit 922e7fa

Please sign in to comment.