cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4022) PluginLoader is loading <runs/> modules before all plugins modules are available.
Date Fri, 05 Jul 2013 14:05:48 GMT

    [ 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

Mime
View raw message