Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
update literal
Browse files Browse the repository at this point in the history
  • Loading branch information
sixertoy committed Aug 26, 2015
1 parent 4ad2531 commit 1f939ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mustacher",
"title": "Mustacher",
"version": "0.1.11",
"version": "0.1.12",
"description": "Perfect for templating eZPublish, Magento, Drupal... CMS models",
"main": "index.js",
"homepage": "https://github.com/sixertoy/mustacher",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/literal.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
LiteralHelper.prototype.register = function () {
Handlebars.registerHelper('$ldim', this.render.bind(this));
Handlebars.registerHelper('$rdim', this.render.bind(this));
Handlebars.registerHelper('raw', this.render.bind(this));
Handlebars.registerHelper('$raw', this.render.bind(this));
};

LiteralHelper.prototype.render = function (options) {
Expand Down
2 changes: 1 addition & 1 deletion src/mustacher.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
});
} catch (e) {
console.log(e);
console.log(e.stack);
throw new Error('Handlebars compile error');
}
};
Expand Down

0 comments on commit 1f939ac

Please sign in to comment.