serby / schemata

Define, create, and validate your business objects based on specified schema.
45 stars 16 forks source link

Add documentation to README #2

Closed domharrington closed 12 years ago

domharrington commented 12 years ago

Tidy up a few var declarations in schemata.js Ensure the doc comments in schemata.js are consistent and added @api comment Change it so that a validator is just a function, not an object with a 'validate' property Change so that validators don't have to return JS Error objects, they can now just return strings Change how Object casting happens, now always returns a blank object if the type isn't object

travisbot commented 12 years ago

This pull request fails (merged 35e4e9db into da7986d0).

travisbot commented 12 years ago

This pull request passes (merged 3a7678e8 into da7986d0).