marionettejs/backbone.marionette — pull request #1868 by paulovieira (2014-09-12 02:27:07+00:00)
Title: Correct the placement of the swapOut trigger to be in accordance with the documentation

The proposed documentation (#1859) says:

>Triggered when the new view has replaced the old view within the Region.

However swapOut is triggered before the described action has happened. We have to move
```javascript
this.triggerMethod('swapOut', this.currentView);
```
to be after
```javascript
this.attachHtml(view);
```

More info on #1866