You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/07/12 04:02:46 UTC

[jira] [Resolved] (CB-4187) plugin loader is not firing onPluginsReady when cordova_plugin.js's module.exports = []

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

Andrew Grieve resolved CB-4187.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
         Assignee: Andrew Grieve  (was: Filip Maj)

Nice catch Benn. I've committed a similar fix. Wanted to avoid thrown an exception, but does the same thing in the end.
                
> plugin loader is not firing onPluginsReady when cordova_plugin.js's module.exports = []
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-4187
>                 URL: https://issues.apache.org/jira/browse/CB-4187
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>         Environment: Windows, Windows Phone
>            Reporter: Benn Mapes
>            Assignee: Andrew Grieve
>             Fix For: 3.0.0
>
>
> Steps to reproduce:
> 1.Create a new project
> 2. create a cordova_plugins.js file in the www folder with the following content :
> cordova.define('cordova/plugin_list', function(require, exports, module) {
> module.exports = []
> });
> 3. Run it.
> 4. Does device ready fire?
> This doesn't really cause much of a problem since you don't need the bridge if your only using the browser implementation but it will if people are waiting for device ready to fire before using our APIs (recommend).

--
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