git demonstration co ming along

This commit is contained in:
Peter Cottle 2013-01-06 16:16:27 -08:00
parent 388f449ab6
commit c1813c346c
8 changed files with 231 additions and 11 deletions

View file

@ -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;
},