emberjs/ember.js — pull request #390 by joubertnel (2012-01-12 17:41:08+00:00)
Title: Fixes issue #259

The StateManager is too aggressive in transitioning to the initialState.

For example, if the initial state is a ViewState, then Firefox cannot find the Handlebars template for it, resulting in an error and the view not rendering.

This fix waits for the DOM to be ready before trying to transition to the initialState.