1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 08:20:11 +00:00

style: notate an issue in skills coalescing func

This commit is contained in:
hacksalot 2018-02-09 00:17:10 -05:00
parent ea3c72845e
commit 17e5c6c172
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
2 changed files with 21 additions and 2 deletions

View File

@ -213,7 +213,9 @@ Definition of the FRESHResume class.
}; };
/** Return a unique list of all keywords across all skills. */ /**
Return a unique list of all skills declared in the resume.
*/
FreshResume.prototype.keywords = function() { FreshResume.prototype.keywords = function() {
var flatSkills; var flatSkills;

View File

@ -180,7 +180,24 @@ class FreshResume# extends AbstractResume
###* Return a unique list of all keywords across all skills. ### ###*
Return a unique list of all skills declared in the resume.
###
# TODO: Several problems here:
# 1) Confusing name. Easily confused with the keyword-inspector module, which
# parses resume body text looking for these same keywords. This should probably
# be renamed.
#
# 2) Doesn't bother trying to integrate skills.list with skills.sets if they
# happen to declare different skills, and if skills.sets declares ONE skill and
# skills.list declared 50, only 1 skill will be registered.
#
# 3) In the future, skill.sets should only be able to use skills declared in
# skills.list. That is, skills.list is the official record of a candidate's
# declared skills. skills.sets is just a way of grouping those into skillsets
# for easier consumption.
keywords: () -> keywords: () ->
flatSkills = [] flatSkills = []
if @skills if @skills