Titanium JIRA Archive
Alloy (ALOY)

[ALOY-452] Remove expr() syntax from TSS files, replace with Alloy namespace access

GitHub Issuen/a
TypeStory
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2013-01-09T09:48:23.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.5, 2013 Sprint 02
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2013-01-09T09:46:27.000+0000
Updated2018-03-07T22:25:46.000+0000

Description

The expr() syntax in TSS files should be removed to avoid having logic directly in the styles. Developers will still have all the power that expr() provided by using the Alloy namespaces within their styles. My comment on Github regarding the removal of expr() covers how to do this in detail: https://github.com/appcelerator/alloy/commit/e9fdc93c9760a1590c0abd0136662c11dc678066#commitcomment-2401085 The expr() syntax will not be present in the new TSS grammar being generated for ticket ALOY-389.

Comments

No comments

JSON Source