mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-03 03:04:27 +02:00
git demonstration co ming along
This commit is contained in:
parent
388f449ab6
commit
c1813c346c
8 changed files with 231 additions and 11 deletions
|
@ -140,7 +140,11 @@ var MultiView = Backbone.View.extend({
|
|||
if (!this.typeToConstructor[type]) {
|
||||
throw new Error('no constructor for type "' + type + '"');
|
||||
}
|
||||
var view = new this.typeToConstructor[type](viewJSON.options);
|
||||
var view = new this.typeToConstructor[type](_.extend(
|
||||
{},
|
||||
viewJSON.options,
|
||||
{ wait: true }
|
||||
));
|
||||
return view;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue