Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
Switch 'as be' with 'be as'
Browse files Browse the repository at this point in the history
  • Loading branch information
timrchavez committed Mar 2, 2012
1 parent e15003f commit 4ffe80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -687,7 +687,7 @@ myPhoto.setTitle('Fishing at sea');

Backbone supports model validation through `Model.validate()`, which allows checking the attribute values for a model prior to them being set.

Validation functions can as be simple or complex as necessary. If the attributes provided are valid, nothing should be returned from `.validate()`. If they are invalid, a custom error can be returned instead.
Validation functions can be as simple or complex as necessary. If the attributes provided are valid, nothing should be returned from `.validate()`. If they are invalid, a custom error can be returned instead.

A basic example for validation can be seen below:

Expand Down

0 comments on commit 4ffe80c

Please sign in to comment.