Titanium JIRA Archive
Alloy (ALOY)

[ALOY-685] Port generateStyleParams() into a runtime version

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2013-06-05T20:24:34.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.2.0, 2013 Sprint 12
ComponentsRuntime, Styling
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2013-06-03T21:11:34.000+0000
Updated2018-03-07T22:25:52.000+0000

Description

generateStyleParams() creates style code at compile time. This code needs to ported and optimized for runtime to allow the dynamic application of styles to titanium proxies. By optimization, I mean that all possible runtime conditionals that could not be processed during the compile step should be processed once, and only once, as to make all subsequent applications of styles faster.

Comments

  1. Tony Lukasavage 2013-06-05

    PR: https://github.com/appcelerator/alloy/pull/145 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-685 To confirm functional test, just run the app on all supported platforms and make sure that the automated runtime unit tests all pass when opening the app. This makes sure the generated style for all labels is accurate.

JSON Source