cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benn Mapes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4187) plugin loader is not firing onPluginsReady when cordova_plugin.js's module.exports = []
Date Thu, 11 Jul 2013 23:35:48 GMT

    [ https://issues.apache.org/jira/browse/CB-4187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706452#comment-13706452
] 

Benn Mapes commented on CB-4187:
--------------------------------

Here is the fix for it : 
https://github.com/bennmapes/cordova-js/tree/pl-fix

Could someone try this on another platform before I push this up?
                
> 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: Filip Maj
>
> 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

Mime
View raw message