removing extra guard

This commit is contained in:
Jeremy Ashkenas
2013-03-20 10:14:39 +08:00
parent 5b7d5bb23f
commit 556938a593

View File

@@ -246,7 +246,7 @@
this.cid = _.uniqueId('c');
this.attributes = {};
_.extend(this, _.pick(options, modelOptions));
if (options && options.parse) attrs = this.parse(attrs, options) || {};
if (options.parse) attrs = this.parse(attrs, options) || {};
if (defaults = _.result(this, 'defaults')) {
attrs = _.defaults({}, attrs, defaults);
}