[ALOY-223] Move optimizer.js runtime to checks for iPhone vs. iPad vs. Universal to compile time where possible
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2012-12-17T21:18:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Runtime, XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-08-28T09:59:10.000+0000 |
Updated | 2014-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
As suggested let's wait until the new CLI is in place before implementing this.
As TIMOB-11913 was marked as invalid, this will not be fixed.