mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 12:27:08 +01:00
CONVERT: Improve command consistency.
This commit is contained in:
21
dist/utils/resume-detector.js
vendored
Normal file
21
dist/utils/resume-detector.js
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
/**
|
||||
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
|
Reference in New Issue
Block a user