1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-15 13:10:12 +00:00
fresh-themes/themes/basis/helpers/sample-helpers.js

33 lines
683 B
JavaScript
Raw Normal View History

/**
Sample helper definitions for HackMyResume's "basis" example theme.
@license MIT. See LICENSE.md for details.
@module themes/basis/helpers/sample-helpers
*/
(function() {
// Block helper function definitions.
var SampleHelpers = module.exports = {
// A sample helper that returns the supplied value.
helperA: function(someVal, options) {
return someVal;
},
// Another sample helper that returns the supplied value.
helperB: function(title, options) {
return title;
},
// A sample block helper
helperC: function(lhs, rhs, options) {
if (lhs || rhs) {
return options.fn(this);
}
}
};
}).call(this);