{ "id": "117922", "key": "ALOY-771", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2013-08-02T11:47:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "14634", "description": "Alloy 1.0.0", "name": "Alloy 1.0.0", "archived": false, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:26:11.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "We should support basic arithmetic, bitwise, and comparison operators in the TSS values. This should include the ability to establish precedence via parentheses. The following should be valid:\r\n\r\n{code:javascript}\r\n'Window': {\r\n windowSoftInputMode: Ti.UI.Android.SOFT_INPUT_STATE_HIDDEN | Ti.UI.Android.SOFT_INPUT_ADJUST_PAN\r\n}\r\n\r\n'.someClass': {\r\n backgroundColor: '#fff',\r\n height: Ti.Platform.displayCaps.platformHeight / 2,\r\n width: (Ti.Platform.displayCaps.platformWidth + 50) / 2\r\n}\r\n\r\n'.otherClass': {\r\n visible: Alloy.Globals.someBoolean && Alloy.Globals.anotherBoolean\r\n}\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Allow operators and expressions in TSS", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }