When maria.ElementView.prototype.removeChild executes it tries to remove the child view from the parent view's container element. It would be better if it remove's the child view from the childView._rootEl.parentNode because the child might not be attached to the parent view's container element.
When
maria.ElementView.prototype.removeChild
executes it tries to remove the child view from the parent view's container element. It would be better if it remove's the child view from thechildView._rootEl.parentNode
because the child might not be attached to the parent view's container element.