{ "id": "148273", "key": "ALOY-1277", "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": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2017-05-09T19:01:27.000+0000", "created": "2015-05-27T22:18:37.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "feature" ], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-05-09T19:01:27.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": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "At the moment, [Alloy's styler|https://github.com/appcelerator/alloy/blob/master/Alloy/commands/compile/styler.js#L261] only allows to load styles from a file.\r\n\r\nIn several cases (alternative syntaxes transformations, for instance), it might be useful to be able to load styles from a string. The proposed change introduces a `loadStyleFromString()` method, which would fill this need and would be called by the original `loadStyle()` method.", "attachment": [], "flagged": false, "summary": "Allow to load Alloy TSS styles from a string, not only from a filename", "creator": { "name": "xavier", "key": "xavier", "displayName": "Xavier Lacot", "active": true, "timeZone": "Europe/Paris" }, "subtasks": [], "reporter": { "name": "xavier", "key": "xavier", "displayName": "Xavier Lacot", "active": true, "timeZone": "Europe/Paris" }, "environment": null, "closedSprints": [ { "id": 890, "state": "closed", "name": "2017 Sprint 10 Tooling", "startDate": "2017-05-08T00:27:34.394Z", "endDate": "2017-05-22T00:27:00.000Z", "completeDate": "2017-05-22T02:42:47.719Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "353715", "author": { "name": "xavier", "key": "xavier", "displayName": "Xavier Lacot", "active": true, "timeZone": "Europe/Paris" }, "body": "A PR has been opened: https://github.com/appcelerator/alloy/pull/693", "updateAuthor": { "name": "xavier", "key": "xavier", "displayName": "Xavier Lacot", "active": true, "timeZone": "Europe/Paris" }, "created": "2015-05-27T22:20:34.000+0000", "updated": "2015-05-27T22:20:34.000+0000" }, { "id": "378546", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-03T06:56:25.000+0000", "updated": "2016-03-03T06:56:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }