thedersen/backbone.validation — pull request #113 by rsskga (2013-03-14 19:53:57+00:00)
Title: Fix for AMD+jQuery dot syntax problem

Hi Thomas,

Just wanting to alert you to an issue I experienced while using backbone.validation with AMD and jQuery. jQuery's sizzle library kept choking on the dot syntax when I tried to place values into the html. I tried name="dot[syntax]", too, with no luck.

So, the easiest fix was to simply change the dot syntax to a hyphen in the html and in what the backbone.validation flatten function was expecting. jQuery and backbone.validation are now happily working together again with nested models.

Unless there is a unique advantage to keeping the dot syntax, perhaps you'll want to pull in this change?

Cheers,
Raina