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:
parent
25688dbe8e
commit
d658a069cd
@ -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 ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user