Skip to content

Commit

Permalink
allow keys that are not in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Dec 13, 2012
1 parent 8d7d08d commit 8261855
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Expand Up @@ -27,8 +27,6 @@ function valid(key, schema, value) {
return isNumber(value, key)
} else if (Array.isArray(schema)) {
return isArray(value, key, schema[0])
} else {
return key + " is not in schema"
}
}

Expand Down

0 comments on commit 8261855

Please sign in to comment.