serby/schemata — pull request #2 by domharrington (2012-08-23 16:17:38+00:00)
Title: Add documentation to README

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