diff --git a/src/core/fresh-resume.js b/src/core/fresh-resume.js index 9135f99..dcc20cd 100644 --- a/src/core/fresh-resume.js +++ b/src/core/fresh-resume.js @@ -202,6 +202,13 @@ Definition of the FRESHResume class. return this; }; + /** + Return the resume format. + */ + FreshResume.prototype.format = function() { + return 'FRESH'; + }; + /** Initialize the the FreshResume from string data. */ diff --git a/src/core/jrs-resume.js b/src/core/jrs-resume.js index 0c5a862..35e4be2 100644 --- a/src/core/jrs-resume.js +++ b/src/core/jrs-resume.js @@ -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 way. Don't override .toString().