Remove unneeded assignment

Since 1.7, `_.pick` no longer throws on `null`
This commit is contained in:
Justin Ridgewell
2015-05-23 20:41:03 -04:00
parent f430fa0849
commit 8266bd4609

View File

@@ -1170,7 +1170,6 @@
// if an existing element is not provided...
var View = Backbone.View = function(options) {
this.cid = _.uniqueId('view');
options || (options = {});
_.extend(this, _.pick(options, viewOptions));
this._ensureElement();
this.initialize.apply(this, arguments);