eivindfjeldstad/validate — pull request #1 by Raynos (2012-06-01 12:52:00+00:00)
Title: Return accepted object rather then null

```
var schema = {
foo: { type: "string" }
}
var object = {
foo: "foo",
bar: "bar"
}
var accepted = {
foo: "foo"
}

assert.deepEqual(validate(schema, object), accepted)
```