Titanium JIRA Archive
Alloy (ALOY)

[ALOY-223] Move optimizer.js runtime to checks for iPhone vs. iPad vs. Universal to compile time where possible

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2012-12-17T21:18:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsRuntime, XML
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-08-28T09:59:10.000+0000
Updated2014-02-04T00:34:53.000+0000

Description

In the processIf() function of the Alloy/commands/compile/optimizer.js file, there is a section where it attempts to determine how to process an "if" statement if it is checking for iPhone, iPad, or Universal. At compile time currently, though, there is no distinction between ipad and iphone when a universal build is selected. We need to investigate to see if there is a way to make this distinction, and if there is, move these checks to compile time. It's also worth noting that we might want to wait on this one until the new CLI is created: TIMOB-8652

Comments

  1. Russell McMahon 2012-08-28

    As suggested let's wait until the new CLI is in place before implementing this.
  2. Tony Lukasavage 2012-12-17

    As TIMOB-11913 was marked as invalid, this will not be fixed.

JSON Source