Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29A2E100DF for ; Thu, 17 Oct 2013 05:36:45 +0000 (UTC) Received: (qmail 5171 invoked by uid 500); 17 Oct 2013 05:36:44 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 5111 invoked by uid 500); 17 Oct 2013 05:36:42 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 5101 invoked by uid 99); 17 Oct 2013 05:36:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 05:36:42 +0000 Date: Thu, 17 Oct 2013 05:36:41 +0000 (UTC) From: "Maxime LUCE (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-5111) Optimize plugman action-stack module for future platforms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)