thomasdavis / backbonetutorials

As single page apps and large scale javascript applications become more prominent on the web, useful resources for those developers who are jumping the ship are crucial.
http://backbonetutorials.com
2.3k stars 1.7k forks source link

what is a model amend #108

Open heldrida opened 10 years ago

heldrida commented 10 years ago

Hi,

the example for validate needs to be changed to this.on('invalid', ...) and the validation to be executed or tested, needs the second parameter validate to equal true, person.set({ ... }, { validate: true }

Thanks for your time!