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