1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-24 09:20:10 +00:00
HackMyResume/dist/utils/resume-detector.js

20 lines
452 B
JavaScript
Raw Normal View History

2018-01-30 07:34:58 +00:00
(function() {
2018-02-12 05:05:29 +00:00
/**
Definition of the ResumeDetector class.
@module utils/resume-detector
@license MIT. See LICENSE.md for details.
*/
2018-01-30 07:34:58 +00:00
module.exports = function(rez) {
2018-02-12 05:05:29 +00:00
if (rez.meta && rez.meta.format) { //&& rez.meta.format.substr(0, 5).toUpperCase() == 'FRESH'
2018-01-30 07:34:58 +00:00
return 'fresh';
} else if (rez.basics) {
return 'jrs';
} else {
return 'unk';
}
};
}).call(this);
//# sourceMappingURL=resume-detector.js.map