mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-23 05:37:23 +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
|
||||
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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user