mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 16:30:11 +00:00
0f65e4c9f3
Reintroduce HackMyCore, dropping the interim submodule, and reorganize and improve tests.
30 lines
542 B
JavaScript
30 lines
542 B
JavaScript
|
|
/**
|
|
Template helper definitions for Handlebars.
|
|
@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.
|
|
@module handlebars-helpers.js
|
|
*/
|
|
|
|
(function() {
|
|
var HANDLEBARS, _, helpers;
|
|
|
|
HANDLEBARS = require('handlebars');
|
|
|
|
_ = require('underscore');
|
|
|
|
helpers = require('./generic-helpers');
|
|
|
|
|
|
/**
|
|
Register useful Handlebars helpers.
|
|
@method registerHelpers
|
|
*/
|
|
|
|
module.exports = function(theme, opts) {
|
|
helpers.theme = theme;
|
|
helpers.opts = opts;
|
|
return HANDLEBARS.registerHelper(helpers);
|
|
};
|
|
|
|
}).call(this);
|