You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Maxime LUCE (JIRA)" <ji...@apache.org> on 2013/10/17 07:36:41 UTC
[jira] [Updated] (CB-5111) Optimize plugman action-stack module for
future platforms
[ https://issues.apache.org/jira/browse/CB-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxime LUCE updated CB-5111:
----------------------------
Description:
Avoid static platform detection in action-stack module :
1. Create a *parseProjectFile* function on every platform module which need it.
2. Remove switch case and detect if *parseProjectFile* exists
3. Remove static indexOf in loop by testing *project_files* variable
Only iOS has a different function name so replace this functiom name in all references.
> Optimize plugman action-stack module for future platforms
> ---------------------------------------------------------
>
> Key: CB-5111
> URL: https://issues.apache.org/jira/browse/CB-5111
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugman
> Reporter: Maxime LUCE
> Assignee: Maxime LUCE
>
> Avoid static platform detection in action-stack module :
> 1. Create a *parseProjectFile* function on every platform module which need it.
> 2. Remove switch case and detect if *parseProjectFile* exists
> 3. Remove static indexOf in loop by testing *project_files* variable
> Only iOS has a different function name so replace this functiom name in all references.
--
This message was sent by Atlassian JIRA
(v6.1#6144)