[ALOY-15] Unable to use constants for JSON properties
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-19T11:52:03.000+0000 |
Affected Version/s | 2012 Sprint 14 |
Fix Version/s | 2012 Sprint 14 |
Components | Runtime |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-05-14T11:02:29.000+0000 |
Updated | 2014-06-22T13:21:32.000+0000 |
Description
Update
We have switched to JSON styling, but the same problem remains.
Original Description
The way CSS is setup now, we are unable to make use of Titanium constants, like style
for buttons in Ti.UI.iPhone.SystemButtonStyle
. We need to be able to use these to add readability to the code. The difficulty stems from the fact that many of these properties that use constants have no direct correlation in CSS.
Comments
JSON Source
We are no longer using CSS, but the problem remains in a different form for the JSON styling. JSON styles will need to be processed in some way to see if they are making use of Titanium constants.
JSON is now used for styling, and constant-handling has been added.