1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-02 12:27:08 +01:00

Cleanup and bug fixes.

Remove file-based open methods from resume classes; force clients to use
clean string-based or JSON overloads; fix processing glitch in
validate(); tweak outputs; adjust tests; update CHANGELOG; etc.
This commit is contained in:
hacksalot
2016-02-04 18:49:16 -05:00
parent 661fb91861
commit 2758038858
14 changed files with 90 additions and 62 deletions

View File

@ -96,7 +96,7 @@ Implementation of the 'validate' verb for HackMyResume.
};
}
json = obj.json;
fmt = json.basics ? 'jrs' : 'fresh';
fmt = json.basics ? 'jars' : 'fresh';
errors = [];
try {
validate = validator(schemas[fmt], {