1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 16:30:11 +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 Return true if the section is present on the resume and has at least one
element. element.
@method hasSection @method section
*/ */
hasSection: function( title, options ) { section: function( title, options ) {
title = title.trim().toLowerCase(); title = title.trim().toLowerCase();
var obj = LO.get( this.r, title ); var obj = LO.get( this.r, title );
if( _.isArray( obj ) ) { if( _.isArray( obj ) ) {