mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 20:39:28 +00:00
14 lines
249 B
JavaScript
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;
|