thedersen/backbone.validation — pull request #20 by andyuk (2012-02-06 17:03:50+00:00)
Title: Nested validation rules fix

Hi,

Can you please look at merging my fix for nested validation rules back into your version?
https://github.com/thedersen/backbone.validation/issues/19
This change makes it possible to validate objects within the main attributes of a Backbone model.

I've written unit tests. You'll see that I've commented out 2 of them since I had issues getting async tests working with buster.

I realise that recursion makes the code a little harder to understand - any suggestions for improvement would be good.

You will also see I have added a package.json file.

Thanks,
Andrew