use older version of joi so travis chrome doesn't break over "const" keyword

This commit is contained in:
Keegan
2016-02-12 17:10:19 -08:00
parent 80df838d52
commit e2d7c93cdb
3 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -1,4 +1,3 @@
# pebble-clay
Pebble Config Framework
# Clay
Clay is a JavaScript library that makes it super easy to add offline configuration pages to your Pebble apps. All you need to get started is a couple lines of JavaScript and a JSON file, no servers or HTML required.
__This is very much a work in progress but you are welcome to provide any feedback/feature requests you'd like via github issues__
+1 -1
View File
@@ -45,7 +45,7 @@
"gulp-inline": "0.0.15",
"gulp-sass": "^2.1.1",
"gulp-sourcemaps": "^1.6.0",
"joi": "^7.2.3",
"joi": "^6.10.1",
"karma": "^0.13.19",
"karma-browserify": "^5.0.1",
"karma-chrome-launcher": "^0.2.2",
+2 -2
View File
@@ -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(),