1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 16:30:11 +00:00

Add convenience method.

This commit is contained in:
hacksalot 2016-01-05 22:26:16 -05:00
parent e230d640cb
commit 2759727984
2 changed files with 14 additions and 0 deletions

View File

@ -202,6 +202,13 @@ Definition of the FRESHResume class.
return this; return this;
}; };
/**
Return the resume format.
*/
FreshResume.prototype.format = function() {
return 'FRESH';
};
/** /**
Initialize the the FreshResume from string data. Initialize the the FreshResume from string data.
*/ */

View File

@ -70,6 +70,13 @@ Definition of the JRSResume class.
}; };
/**
Return the resume format.
*/
JRSResume.prototype.format = function() {
return 'JRS';
};
/** /**
Convert this object to a JSON string, sanitizing meta-properties along the Convert this object to a JSON string, sanitizing meta-properties along the
way. Don't override .toString(). way. Don't override .toString().