documentcloud/backbone — pull request #1298 by ianstormtaylor (2012-05-08 16:07:11+00:00)
Title: changed view._configure to return options instead of setting this.options

An example of how I think view options should be dealt with, from #1277.

This way, the user can decide whether they want to copy options over to the view. Initialize is called with the defaulted options and then if you want to save anything you should can store it in an appropriate place. Eg. some options might be states, I'd want to store them in `this.state`, or some options might be other collections/models, I'd want to set them as `this.aSecondCollection` instead of everything going under `this.options`.

It also promotes not accessing things via `this.options` when getters/setters exist instead.

Curious to know what everyone thinks.