sproutcore/sproutcore20 — Issue #178: Consider making SC.Application#ready trigger easily overridable
Author: lukemelia
Created: 2011-10-08 18:06:53+00:00
State: open

SC.Application currently calls its ready method on document ready. This occurs here: https://github.com/sproutcore/sproutcore20/blob/master/packages/sproutcore-views/lib/system/application.js#L72

In a PhoneGap context, I would want to trigger based on the deviceready event instead. Currently, I have to replace the entire init method to do so. It would be preferable to override something more isolated.

What do you think?