Permalink
Browse files

update readme

  • Loading branch information...
eivindfjeldstad committed Jun 2, 2012
1 parent 50aa16d commit a1a406cb9298f8f12bc4c241a90ff4b9a54fd260
Showing with 1 addition and 4 deletions.
  1. +1 −4 readme.md
View
@@ -14,10 +14,7 @@ var schema = {
, city : { type: 'string', required: true }
, zip : { type: 'string', length: 8, message: "Invalid zip" }
}
- , array : { type: 'array', minLen: 1, values: {
- type: 'number'
- }
- }
+ , array : { type: 'array', minLen: 1, values: { type: 'number' } }
};
var data = validate(schema, { /* data to validate */ });

0 comments on commit a1a406c

Please sign in to comment.