Improvement description
See ALOY-1090
Spaces in comma-separated lists of targets in the platform attribute could be supported also in styles .TSS.
For example:
1. Create a new project and use the following code:
'#index[platform=android, ios]': {
backgroundColor: 'yellow',
fullscreen: false,
exitOnClose: true
}
2. Run on android and ios.
Result:
In this case, no errors are displayed and the only the first target is (android) is currently recognized and styles applied.
Expected result:
Both target platforms should be recognized.
PR: https://github.com/appcelerator/alloy/pull/504 Test app: https://github.com/feons/alloy/tree/ALOY-1112/test/apps/testing/ALOY-1112 Functional Test: 1. Run the test app on ios, android and mobile web. 2. Background color should be {color:yellow}yellow{color} on ios & android, white on mobile web 3. 2nd label should be {color:red}red{color} on iphone & android handheld, black on other platforms.
Looks good, but would you update the code per the comment I posted on the PR?
Updated PR. Thanks [~skypanther]!
PR merged