[TIMOB-8999] MobileWeb: Create local aliases for constants
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2017-06-26T19:14:01.000+0000 |
| Affected Version/s | Release 2.0.1 |
| Fix Version/s | n/a |
| Components | MobileWeb |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2012-05-04T16:24:44.000+0000 |
| Updated | 2018-04-04T23:20:24.000+0000 |
Description
There are currently 43 instances of Ti.UI.FILL and 86 instances of Ti.UI.SIZE throughout the mobile web code. In several cases, we are referencing these constants more than once in a single file. It would be more efficient and less bytes to create local aliases at the top of each module. This will speed up variable scope resolution.
Other constants include: Ti.UI._LAYOUT_CONSTRAINING_VERTICAL.
Marking ticket as "Won't Fix" as MobileWeb has been deprecated.
Closing as will not fix.