1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 09:56:22 +00:00

Rename {{hasSection}} helper to {{section}}.

This commit is contained in:
hacksalot 2016-01-05 04:59:26 -05:00
parent 25688dbe8e
commit d658a069cd

View File

@ -32,9 +32,9 @@ Generic template helper definitions for HackMyResume / FluentCV.
/**
Return true if the section is present on the resume and has at least one
element.
@method hasSection
@method section
*/
hasSection: function( title, options ) {
section: function( title, options ) {
title = title.trim().toLowerCase();
var obj = LO.get( this.r, title );
if( _.isArray( obj ) ) {