mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +00:00
20 lines
452 B
JavaScript
20 lines
452 B
JavaScript
(function() {
|
|
/**
|
|
Definition of the ResumeDetector class.
|
|
@module utils/resume-detector
|
|
@license MIT. See LICENSE.md for details.
|
|
*/
|
|
module.exports = function(rez) {
|
|
if (rez.meta && rez.meta.format) { //&& rez.meta.format.substr(0, 5).toUpperCase() == 'FRESH'
|
|
return 'fresh';
|
|
} else if (rez.basics) {
|
|
return 'jrs';
|
|
} else {
|
|
return 'unk';
|
|
}
|
|
};
|
|
|
|
}).call(this);
|
|
|
|
//# sourceMappingURL=resume-detector.js.map
|