Fix formatting

4.x.x
charithag 9 years ago
parent fb52c5845d
commit 2a006684cc

@ -19,8 +19,9 @@
function onRequest(context) {
var utility = require("/app/modules/utility.js").utility;
context.handlebars.registerHelper('equal', function (lvalue, rvalue, options) {
if (arguments.length < 3)
if (arguments.length < 3) {
throw new Error("Handlebars Helper equal needs 2 parameters");
}
if (lvalue != rvalue) {
return options.inverse(this);
} else {

Loading…
Cancel
Save