{ "id": "89844", "key": "TIMOB-8680", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13402", "description": "Sprint 2012-10 Core", "name": "Sprint 2012-10 Core", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-17T00:43:17.000+0000", "created": "2012-04-11T12:17:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "look1", "tbs-2.1.0" ], "versions": [], "issuelinks": [ { "id": "16494", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "88620", "key": "TIMOB-8241", "fields": { "summary": "Core: Define Java coding standards", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-20T17:01:25.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": [], "description": "Define a document that outlines all Javascript coding standards any javascript written for Appcelerator (internal or community contributions) should adhere to. This should represent more than syntax, but general design approaches and process flow. This document will be focused on language only. Platform Specific information will be contained inside another document.\r\n\r\nThis is a collaboration ticket.", "attachment": [], "flagged": false, "summary": "Core: Define Javascript coding standards", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "190609", "author": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "body": "For straight JavaScript language style, I for one really like the Google style guide, and would recommend that as a jumping off point, and then document deviations:\r\n\r\nhttp://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml\r\n\r\nAre CommonJS modules and associated structures in scope for this conversation as well? We have a bit of a disconnect there with what is supported in core mobile web, since in the browser we use AMD, and for end developers we support what is essentially node.js' implementation (and deviations from) the spec. ", "updateAuthor": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-11T13:37:50.000+0000", "updated": "2012-04-11T13:37:50.000+0000" }, { "id": "190611", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I'll look at Google's style guide, but already I've seen a couple things that I don't agree with.\r\n\r\nCommonJS modules as well as inline docs are included in this conversation. We'll need to explicitly document style guides for CommonJS (standard and node.js flavors) and AMD formatted modules.\r\n\r\nGive me a couple days to come up with something to start from.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-11T13:48:46.000+0000", "updated": "2012-04-11T13:48:46.000+0000" }, { "id": "192532", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I've got a pretty decent style guide written here: https://wiki.appcelerator.org/display/pe/JavaScript+Style+Guide\r\n\r\nIt might be a good idea to write some code snippets, but I don't think it's required.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-24T22:41:01.000+0000", "updated": "2012-04-24T22:41:01.000+0000" }, { "id": "192752", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "I like this a lot. Also think having code snippets is handy. I'm a visual kind of person.\r\n\r\nWe're going to have to make sure our CommonJS implementation is better in order for this one to be true: \"Object methods SHOULD be defined on the object's prototype, not via \"this\" in the constructor\" . Sometimes it causes parsing errors in iOS :-D", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2012-04-26T09:00:08.000+0000", "updated": "2012-04-26T09:00:08.000+0000" }, { "id": "193335", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Further updates coming from Chris. Once updated, RFC email will be sent to platform and customer engineering.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-01T14:45:27.000+0000", "updated": "2012-05-01T14:45:27.000+0000" }, { "id": "193880", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Pending further updates from Chris.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-05T14:28:52.000+0000", "updated": "2012-05-05T14:28:52.000+0000" }, { "id": "195134", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Spec is locked down now. Closing.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-17T00:43:07.000+0000", "updated": "2012-05-17T00:43:07.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }