We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var SomeModel = Backbone.Model.extend({ validation: { name: 'validateName' }, validateName: function(value) { if(value !== 'something') { return 'Name is invalid'; } } });