{ "id": "117555", "key": "ALOY-759", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15571", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-07-24T19:37:29.000+0000", "created": "2013-07-24T17:40:26.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "15512", "description": "Alloy 1.1.3", "name": "Alloy 1.1.3", "archived": false, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-24T19:37:49.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Alloy has a list of platform compiler conditionals that get compiled out of Alloy code depending on the target platform, specified like this:\r\n\r\n{code}\r\nalloy compile --config platform=ios\r\n{code} \r\n\r\nIn certain situations (like LiveView/TiShadow multiple platform deploys) developers would prefer to leave those values as simply JS constants instead of compiler directives so the same code can be used on multiple platforms. We should investigate being able to run it without the platform config and still have it run successfully.\r\n\r\n{code}\r\nalloy compile\r\n{code}", "attachment": [], "flagged": false, "summary": "Support the ability to have compiler conditionals defined as JS constants", "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": [ { "id": "263017", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After investigation, too much of Alloy's compile time process relies on a build platform being present. This is not a feasible option.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-24T19:37:29.000+0000", "updated": "2013-07-24T19:37:29.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }