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.71k forks source link

fixed errors in backbone model validate section #133

Closed tedbreen closed 8 years ago

tedbreen commented 9 years ago

'bind' is the deprecated version of 'on'; 'invalid' event is triggered in this case, not 'error'; validate function is only called when set function is called if an option is passed. otherwise, validate function is not called until save function is called.