1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-06-30 23:40:05 +01:00

Add toUpper helper.

This commit is contained in:
hacksalot 2016-01-22 02:44:04 -05:00
parent 01c053702d
commit 58a7fc09e5

View File

@ -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