emberjs/ember.js — pull request #1134 by sgharms (2012-07-09 15:17:39+00:00)
Title: App.initialize() ensures App(Controller|View)

Hi Emberjs, long-time user, first time code PR,
be gentle. :)

As the test case shows, it _was_ possible to define
a Router on an application such that, while it had
Em.Controller(s) and / or Em.View(s), it would not
render anything to the screen.

In-line code documentation included in d06f4a4a
seemed to imply that this should be possible to
do, cf. "Changing View Hierarchy in Response To
State Change." This is because the names
Application(Controller|View) are special. Added
assertions enforce this convention and will
helpfully Blow Up and advise how to proceed.

Please comment on PR if changes need to be made.

Steven