{ "id": "94205", "key": "ALOY-81", "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": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-19T11:52:06.000+0000", "created": "2012-06-30T18:25:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:21:10.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "from Rick Blalock:\r\n\r\n{quote}\r\nIs there a way to distinguish how a MVC triad should be used? e.g. if it should be instantiated or a singleton?\r\n\r\nFor instance, if you want a singleton in CommonsJS:\r\n\r\nvar MySingleton = {};\r\nmodule.exports = MySingleton;\r\n\r\nOr something that's to be instantiated:\r\n\r\nfunction MyThingy() {}\r\nmodule.exports = myThingy;\r\n\r\nHow would I do a singleton type MVC set in Alloy?\r\n{quote}\r\n", "attachment": [], "flagged": false, "summary": "Add the ability to create singleton component objects", "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": "207924", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Talking with Rick the multiple_views sample should show how to do this. He will try the sample and if any issues come up I'll up specific tickets.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T17:34:46.000+0000", "updated": "2012-07-16T17:34:46.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }