Titanium JIRA Archive
Alloy (ALOY)

[ALOY-15] Unable to use constants for JSON properties

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-19T11:52:03.000+0000
Affected Version/s2012 Sprint 14
Fix Version/s2012 Sprint 14
ComponentsRuntime
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-05-14T11:02:29.000+0000
Updated2014-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

  1. Tony Lukasavage 2012-06-06

    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.
  2. Tony Lukasavage 2012-06-27

    JSON is now used for styling, and constant-handling has been added.

JSON Source