mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-14 15:08:34 +02:00
change '_.extend' to 'Object.assign'
This commit is contained in:
parent
7ae05ce932
commit
052aa1e299
13 changed files with 27 additions and 27 deletions
|
@ -159,7 +159,7 @@ var MultiView = Backbone.View.extend({
|
|||
if (!this.typeToConstructor[type]) {
|
||||
throw new Error('no constructor for type "' + type + '"');
|
||||
}
|
||||
var view = new this.typeToConstructor[type](_.extend(
|
||||
var view = new this.typeToConstructor[type](Object.assign(
|
||||
{},
|
||||
viewJSON.options,
|
||||
{ wait: true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue