[
https://issues.apache.org/jira/browse/CB-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryce Curtis resolved CB-299.
-----------------------------
Resolution: Fixed
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=efdcd770398b6ce79be90c809c240d6afccafaa8
> cordova.js should allow for registering plugins as required before
> deviceready fires
> ------------------------------------------------------------------------------------
>
> Key: CB-299
> URL: https://issues.apache.org/jira/browse/CB-299
> Project: Apache Callback
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 1.5.0
> Reporter: Filip Maj
> Assignee: Bryce Curtis
> Fix For: 1.6.0
>
>
> Cordova-JS employs an object called a channel which is a simple pub/sub
> implementation.
> Cordova as a whole defines many of these channels (e.g. nativeready,
> deviceinfoready, connectioninfoready) and uses them internally to make sure
> initialization and its timing is correct.
> For plugin authors, it may be desirable to:
> a) create a new channel for use with a plugin
> b) register the channel with cordova internals to make sure the channel for
> the plugin fires before cordova fires the deviceready event
> We should provide a helper for this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira