derickbailey/backbone.marionette — pull request #175 by markijbema (2012-07-04 14:37:54+00:00)
Title: Fixes multiple rendering of EmptyView on multiple collection resets

(and also (untested) render error on init with empty collection, reset (by fetch), add, which will only render the added item, and not the items added before the reset)

I'm not sure whether this is the ideal solution, but this will also allow overriding showEmptyView and closeEmptyView with other functionality, which feels clean to me at least. Not too happy about the double call to closeChildren(), but I don't see another solution without keeping an extra reference to emptyView, and keeping it out of the chlidviews, which again feels like a lot of unnecessary duplication to me.