Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing 'validates' option to 'set' method #712

Merged
merged 1 commit into from
Jun 7, 2016
Merged

Added missing 'validates' option to 'set' method #712

merged 1 commit into from
Jun 7, 2016

Conversation

rencire
Copy link
Contributor

@rencire rencire commented May 29, 2016

I noticed that the example code is missing an option to trigger validation.

As specified in the docs, if the set() method only validates if {validate: true} is passed as an option.
http://backbonejs.org/#Model-validate

@addyosmani addyosmani merged commit e5de7bb into addyosmani:gh-pages Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants