derickbailey/backbone.marionette — pull request #193 by jonotron (2012-07-20 20:22:05+00:00)
Title: Add per region custom region classes in Layout

Layouts can now be defined with custom region classes for each region.

E.g.

```js
MyLayout = Backbone.Marionette.Layout.extend({
regionClass: SomeDefaultCustomRegion, // optional, uses Backbone.Marionette.Region otherwise
regions: {
regionOne: {
selector: "#region1",
regionClass: CustomRegion
},
regionTwo: {
selector: "#region2",
regionClass: CustomRegion2
}
regionThree: {
selector: "#region3" // SomeDefaultCustomRegion
},
regionFour: "#region4" // simple backwards compatible syntax, SomeDefaultCustomRegion
}
});
```

This pull request replace #192