Affects Version/s: Alloy 1.4.0
Fix Version/s: Alloy 1.5.0
Appcelerator Studio 220.127.116.11405271647
Sprint:2014 Sprint 12 Alloy
CustomTSS comma-separated queries are not correctly applied since the boolean operator used in this case is an AND instead of an OR.
1. Run the sample code either on iOS or Android
Result: Label text is "Simple class label applied"
Expected result: Label text should be "iOS or Android! Styles conditionals correctly applied"
Style conditional is not satisfied as custom2 is false and "if=Alloy.Globals.custom1,Alloy.Globals.custom2" returns false (should be true).
2. Change "Alloy.Globals.custom2" from false to true. Run on either iOS or Android.
Result: Label text is "iOS or Android! Styles conditionals correctly applied", since both are true and the AND operator returns true.