mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
removing redundant attributes check.
This commit is contained in:
@@ -302,7 +302,7 @@
|
||||
}
|
||||
|
||||
options = options ? _.clone(options) : {};
|
||||
if (attrs && !this.set(attrs, options)) return false;
|
||||
if (!this.set(attrs, options)) return false;
|
||||
var model = this;
|
||||
var success = options.success;
|
||||
options.success = function(resp, status, xhr) {
|
||||
|
||||
Reference in New Issue
Block a user