From dca02ecab7736e708b3abbbb3236d0aa2a910fb7 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 27 Feb 2012 14:56:21 -0500 Subject: [PATCH] Fixes #1053 -- updating comment to reflect changed style of validate() --- backbone.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backbone.js b/backbone.js index 64b11ab5..ba5f8447 100644 --- a/backbone.js +++ b/backbone.js @@ -483,9 +483,9 @@ return !this.validate(this.attributes); }, - // Run validation against a set of incoming attributes, returning `true` - // if all is well. If a specific `error` callback has been passed, - // call that instead of firing the general `"error"` event. + // Run validation against the next complete set of model attributes, + // returning `true` if all is well. If a specific `error` callback has + // been passed, call that instead of firing the general `"error"` event. _validate: function(attrs, options) { if (options.silent || !this.validate) return true; attrs = _.extend({}, this.attributes, attrs);