You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/05 16:05:48 UTC

[jira] [Commented] (CB-4022) PluginLoader is loading modules before all plugins modules are available.

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

ASF subversion and git services commented on CB-4022:
-----------------------------------------------------

Commit 0c80083d289681616480054b84102758e9ed20bd in branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=0c80083 ]

[all] [CB-4022] Defer running of <runs> modules until after all scripts are loaded.

                
> PluginLoader is loading <runs/> modules before all plugins modules are available.
> ---------------------------------------------------------------------------------
>
>                 Key: CB-4022
>                 URL: https://issues.apache.org/jira/browse/CB-4022
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>
> onPluginsReady() is meant to be fired once all the plugin file modules are available, but before any plugin modules are require()d. 
> There's currently a bug where plugins with <runs/> tags are being run before onPluginsReady() is fired. This will cause their require()s to possible fail and we should fix that.

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