{ "id": "115056", "key": "ALOY-676", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15488", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-30T00:04:09.000+0000", "created": "2013-05-28T22:10:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:26:14.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "The constants.js file is located in the \"Alloy/common\" folder, which should be reserved for modules that work in both the nodejs and Titanium environment. In its current state, the module works only with nodejs. This module needs to be made to work with Titanium as well and distributed with the runtime modules so it can reliably be used by other modules at runtime. This should involve either wrapping specific sections in environment conditionals, or create a derived version of the constants.js file more tailored for runtime.", "attachment": [], "flagged": false, "summary": "Make constants.js valid for both nodejs and Titanium", "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": "254726", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/138\r\nTest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-676\r\n\r\nThe test app can be functionally verified simply by running it and seeing the JSON for the implicit namespaces printed on the screen, which is a JS object that maps UI element names to namespaces.\r\n\r\nAdditionally, running {{jake test:all}} and ensuring that all automated unit tests pass will assert that existing usage of the constants.js has not been negatively affected.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T00:04:09.000+0000", "updated": "2013-05-30T00:04:09.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }