{ "id": "143341", "key": "TIMOB-18424", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-05T15:25:59.000+0000", "created": "2015-01-21T18:25:29.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "45619", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "144194", "key": "PM-27", "fields": { "summary": "Decide on CommonJS require implementation parity", "status": { "description": "", "name": "To Do", "id": "10020", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T19:52: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "We should use a fully implemented algorithm for our require implementation that generally follows the Node.JS spec: http://nodejs.org/api/modules.html#modules_all_together\r\n\r\nTony L has implemented on top of Titanium APis for Ti.current, and Jeff H implemented in Objective-C. We also had an impl in Hyperloop, all of which we can try and re-use leverage.\r\n\r\nhttps://github.com/appcelerator/hyperloop/blob/d61131ff1bf828cc9ecc5672a45ba8627bdba974/lib/ios/jsc/templates/source/Module.m#L228", "attachment": [], "flagged": false, "summary": "Windows: Improve require implementation", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 331, "state": "closed", "name": "2015 Sprint 03 Windows", "startDate": "2015-01-31T01:00:00.000Z", "endDate": "2015-02-14T01:00:00.000Z", "completeDate": "2015-02-16T21:05:06.994Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "342023", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/110", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-04T12:19:30.000+0000", "updated": "2015-02-04T12:19:30.000+0000" }, { "id": "412190", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T19:52:27.000+0000", "updated": "2017-03-14T19:52:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }