You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2013/04/18 20:30:13 UTC

[jira] [Resolved] (CB-3066) Allow platform.initialize and cordovaReady event to fire before DOMContentLoaded

     [ https://issues.apache.org/jira/browse/CB-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland resolved CB-3066.
------------------------------

    Resolution: Fixed
    
> Allow platform.initialize and cordovaReady event to fire before DOMContentLoaded
> --------------------------------------------------------------------------------
>
>                 Key: CB-3066
>                 URL: https://issues.apache.org/jira/browse/CB-3066
>             Project: Apache Cordova
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Ian Clelland
>            Assignee: Ian Clelland
>             Fix For: 2.7.0
>
>
> In some cases, we want to have cordova plugins operational before the DOMContentLoaded event has fired -- this can improve startup time for apps with external resources, and can allow plugins (like the Chrome-Cordova bootstrap plugin) to manipulate the DOM before it has finished loading.
> In order to do this, we need to remove DOMContentLoaded from the preconditions to running cordova.platform.initialize and onCordovaReady, but require it before firing onDeviceReady.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira