[ALOY-223] Move optimizer.js runtime to checks for iPhone vs. iPad vs. Universal to compile time where possible
processIf()function of the
Alloy/commands/compile/optimizer.jsfile, 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
- Russell McMahon 2012-08-28 As suggested let's wait until the new CLI is in place before implementing this.
- Tony Lukasavage 2012-12-17 As TIMOB-11913 was marked as invalid, this will not be fixed.