Closed paulfalgout closed 5 years ago
This PR is passing, but the gulp-coveralls
is failing. https://github.com/marionettejs/backbone.marionette/issues/3656
The bug was a false alarm. Couldn't actually get to that state because empty
always resolved the el
first. However while chasing that issue down I did look into the branch coverage issues mentioned here: https://github.com/marionettejs/backbone.marionette/issues/3652 I added them as a 2nd commit to this PR, but they can go in a separate PR if necessary.
I think after this v4.1 is ready to :shipit:
Resolves https://github.com/marionettejs/backbone.marionette/issues/3640
While working on this I found a bug where showing a view in a region withreplaceElement: true
that already had a view will not get theattach
events because the event checks the region'sel
. So this also checks against the replaced view's el as a fix, but I need to add a test case to cover this logic branch.[ ] Tests for replaceElement attached issue