derickbailey/backbone.marionette — Issue #14: Set Views to Null in CollectionView
Author: fellars
Created: 2012-01-24 23:21:36+00:00
State: open

When I upgraded, something started to break with using a CollectionView, and wondered if necessary.

You added:
```javascript
itemView: Marionette.ItemView,
modelView: Marionette.ItemView,
```
to CollectionView. These don't help since you always will need to pass in your own view's for those elements - since you don't have a way to pass along a template to these, can never use them as is. And now an error is thrown when a template is not defined. In my CollectionView extension, I was checking to see if itemView was set via the options parameter, and if not then creating a default one. Now, I don't know if the ItemView was the one set by the hardcoded itemView: Marionette.ItemView (which doesn't help me) or if passed in via parameter, so I'm not sure whether I should leave it or create a default one. Make sense?

Since having it defined already doesn't help at all, my preference would be for them to not be defined by default.

Thoughts?