Fix comment about invalid event.

This commit is contained in:
Jeremy Ashkenas
2013-03-19 18:23:14 +08:00
parent 0f1b88bae9
commit 9e206e1fd5

View File

@@ -544,8 +544,7 @@
},
// Run validation against the next complete set of model attributes,
// returning `true` if all is well. Otherwise, fire an
// `"invalid"` event and call the invalid callback, if specified.
// returning `true` if all is well. Otherwise, fire an `"invalid"` event.
_validate: function(attrs, options) {
if (!options.validate || !this.validate) return true;
attrs = _.extend({}, this.attributes, attrs);