caolan/forms — pull request #29 by leepowellcouk (2012-08-14 11:44:45+00:00)
Title: Added additional object check in handle

I noticed when using with Express bodyParser that handle only checks for the existence of obj.body and then performs a validation check. This does not allow the 'empty' callback to be used. I've added a check to see if obj.body has been populated, and if not to allow the 'empty' callback to be invoked.