marionettejs/backbone.marionette — pull request #541 by jstrimpel (2013-03-27 22:46:03+00:00)
Title: delete region definition from layout regions hash when removing region

I rely of the layout regions hash for filtering out region views when a developer calls .$('some selector'). addRegion currently updates the regions definition hash, but removeRegion does not. I added a line of code to delete the region definition from the regions hash when removeRegion is called, so that they behave consistently.