mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-23 05:37:23 +00:00
Add toUpper helper.
This commit is contained in:
parent
01c053702d
commit
58a7fc09e5
@ -245,6 +245,14 @@ Generic template helper definitions for HackMyResume / FluentCV.
|
||||
return txt && txt.trim() ? txt.toLowerCase() : '';
|
||||
},
|
||||
|
||||
/**
|
||||
Convert text to lowercase.
|
||||
@method toLower
|
||||
*/
|
||||
toUpper: function( txt ) {
|
||||
return txt && txt.trim() ? txt.toUpperCase() : '';
|
||||
},
|
||||
|
||||
/**
|
||||
Return true if either value is truthy.
|
||||
@method either
|
||||
|
Loading…
Reference in New Issue
Block a user