mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-11-03 22:37:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			502 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			502 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
Template helper definitions for Handlebars.
 | 
						|
@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.
 | 
						|
@module handlebars-helpers.js
 | 
						|
*/
 | 
						|
 | 
						|
 | 
						|
(function() {
 | 
						|
 | 
						|
  var 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;
 | 
						|
    HANDLEBARS.registerHelper( helpers );
 | 
						|
 | 
						|
  };
 | 
						|
 | 
						|
}());
 |