Closed paulfalgout closed 5 years ago
I believe it is a first non-breaking step towards https://github.com/marionettejs/backbone.marionette/pull/3620 and it provides a solution path for https://github.com/marionettejs/backbone.marionette/issues/3610 where the CollectionView can update the emptyRegion's el to match the childViewContainer at render without compromising the region instance the user may have already getEmptyRegion'd.
CollectionView
emptyRegion
el
childViewContainer
render
getEmptyRegion
Coverage remained the same at 100.0% when pulling 044258db6d5a06799de524fe0cc6aa4e61e0f567 on paulfalgout:region-set-element into da986a6f5834dc7a3f6fb0bbb8b30955201f57c7 on marionettejs:next.
I believe it is a first non-breaking step towards https://github.com/marionettejs/backbone.marionette/pull/3620 and it provides a solution path for https://github.com/marionettejs/backbone.marionette/issues/3610 where the
CollectionView
can update theemptyRegion
'sel
to match thechildViewContainer
atrender
without compromising the region instance the user may have alreadygetEmptyRegion
'd.