Skip to content

Commit

Permalink
removing extra guard
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Mar 20, 2013
1 parent 5b7d5bb commit 556938a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 556938a

Please sign in to comment.