1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 20:19:30 +00:00
Files
stratos/lib/handlebarsHelpers.js

14 lines
249 B
JavaScript

'use strict';
const helpers = {};
helpers.eq = function (arg1, arg2, options) {
return arg1 === arg2 ? options.fn(this) : options.inverse(this);
};
helpers.json = function (object) {
return JSON.stringify(object);
};
module.exports = helpers;