mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-22 13:37:21 +00:00
chore: update stale JavaScript
This commit is contained in:
parent
f53c316ecb
commit
db6ec47dcc
2
dist/core/fresh-resume.js
vendored
2
dist/core/fresh-resume.js
vendored
@ -352,7 +352,7 @@ Definition of the FRESHResume class.
|
||||
|
||||
FreshResume.prototype.isValid = function(info) {
|
||||
var ret, schemaObj, validate;
|
||||
schemaObj = require('fresca');
|
||||
schemaObj = require('fresh-resume-schema');
|
||||
validator = require('is-my-json-valid');
|
||||
validate = validator(schemaObj, {
|
||||
formats: {
|
||||
|
2
dist/verbs/validate.js
vendored
2
dist/verbs/validate.js
vendored
@ -52,7 +52,7 @@ Implementation of the 'validate' verb for HackMyResume.
|
||||
}
|
||||
validator = require('is-my-json-valid');
|
||||
schemas = {
|
||||
fresh: require('fresca'),
|
||||
fresh: require('fresh-resume-schema'),
|
||||
jars: require('../core/resume.json')
|
||||
};
|
||||
results = _.map(sources, function(t) {
|
||||
|
Loading…
Reference in New Issue
Block a user