Show More
@@ -192,11 +192,11 function(widget_manager, underscore, backbone){ | |||
|
192 | 192 | // triggered on model change |
|
193 | 193 | }, |
|
194 | 194 | |
|
195 |
child_view: function(model_id, |
|
|
195 | child_view: function(model_id, options) { | |
|
196 | 196 | // create and return a child view, given a model id for a model and (optionally) a view name |
|
197 | 197 | // if the view name is not given, it defaults to the model's default view attribute |
|
198 | 198 | var child_model = this.widget_manager.get_model(model_id); |
|
199 |
var child_view = this.widget_manager.create_view(child_model, |
|
|
199 | var child_view = this.widget_manager.create_view(child_model, options); | |
|
200 | 200 | this.child_views[model_id] = child_view; |
|
201 | 201 | return child_view; |
|
202 | 202 | }, |
General Comments 0
You need to be logged in to leave comments.
Login now