mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 01:56: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) {
|
FreshResume.prototype.isValid = function(info) {
|
||||||
var ret, schemaObj, validate;
|
var ret, schemaObj, validate;
|
||||||
schemaObj = require('fresca');
|
schemaObj = require('fresh-resume-schema');
|
||||||
validator = require('is-my-json-valid');
|
validator = require('is-my-json-valid');
|
||||||
validate = validator(schemaObj, {
|
validate = validator(schemaObj, {
|
||||||
formats: {
|
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');
|
validator = require('is-my-json-valid');
|
||||||
schemas = {
|
schemas = {
|
||||||
fresh: require('fresca'),
|
fresh: require('fresh-resume-schema'),
|
||||||
jars: require('../core/resume.json')
|
jars: require('../core/resume.json')
|
||||||
};
|
};
|
||||||
results = _.map(sources, function(t) {
|
results = _.map(sources, function(t) {
|
||||||
|
Loading…
Reference in New Issue
Block a user