Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Refactor internal handling of the waiting vs. ready state for controls #435

Merged
merged 3 commits into from Feb 24, 2014
Commits on Feb 24, 2014
  1. Refactor internal handling of the waiting vs. ready state for controls

    bruth committed Feb 24, 2014
    When `control.ready()` is called, two events are now called `beforeready`
    which is called prior to the deferred object is resolved and `ready` which
    is called after the deferred object is resolved.
    
    The initial state of the control and binding the context occur during the
    `beforeready` event to ensure other views can bind to the ready event
    (or deferred object) once everything is setup.
    
    Fix #434