marionettejs/backbone.marionette — pull request #1875 by nomcopter (2014-09-12 19:01:24+00:00)
Title: Make view members accessible in behavior initialization

Currently, `Backbone.View`'s constructor is called from `Marionette.View`'s constructor after the behaviors have been initialized. This means that options to the view have not been bound to the view yet (i.e. model, collection) as well as that the view's `initialize` method has not ran yet when the behavior's `initialize` runs.

This PR simply runs `Backbone.View.apply(this, arguments);` before `this._behaviors = Marionette.Behaviors(this);` to fix this.