mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-08-26 15:06:20 +01: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
|