mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-03 15:47:43 -04:00
use older version of joi so travis chrome doesn't break over "const" keyword
This commit is contained in:
@@ -15,8 +15,8 @@ var componentSchema = Joi.object().keys({
|
||||
manipulator: Joi.alternatives().try(
|
||||
Joi.string().valid(Object.keys(manipulators)),
|
||||
Joi.object().keys({
|
||||
get: Joi.func().arity(0).required(),
|
||||
set: Joi.func().arity(1).required()
|
||||
get: Joi.func().required(),
|
||||
set: Joi.func().required()
|
||||
}).required().unknown(true)
|
||||
),
|
||||
defaults: Joi.object().optional(),
|
||||
|
||||
Reference in New Issue
Block a user