marionettejs/backbone.marionette — pull request #281 by edhille (2012-10-11 23:33:58+00:00)
Title: Bind CollectionView to child view events prior to rendering child view

This is a potential fix to an issue where a CollectionView is not receiving events from it's child view.

The approach taken in this solution was to move the childBinding code in CollectionView.addItemView to occur prior to rendering the child view.

There also is a unit test that was written to verify this solution. Prior to the change, none of the "itemview:*" events where being seen by the handler added to the CollectionView.