{ "id": "94925", "key": "TIMOB-9938", "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": [], "resolution": null, "resolutiondate": null, "created": "2012-07-11T12:57:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:17.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": null, "attachment": [], "flagged": false, "summary": "Tooling: Remove Yahoo and Facebook modules from core", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "213136", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "@NEERAJ: Is our goal to make it such that no code changes will be required at all by a Titanium developer using these modules? \r\n\r\nI.e., should we still treat them as \"internal\" modules rather than external modules from the perspective of a developer using Titanium? Our cloud stuff (for example), though packaged in the SDK, is treated as _external_, meaning a developer using Titanium needs to use {{require}}, like {{var cloud = require(\"ti.cloud\");}}.\r\n\r\nSo using Yahoo as an example, current code (by a Titanium developer) looks like:\r\n\r\n{code:title=app.js}\r\nTi.Yahoo.yql(\"SELECT ___ FROM ___ WHERE __\", function(e) {//callback});\r\n{code}\r\n\r\nDo we want them to continue to use it that way, or is it okay to make them switch to {{require}} such as:\r\n\r\n{code:title=app.js}\r\nvar yahoo = require(\"ti.yahoo\");\r\nyahoo.yql(\"SELECT ___ FROM ___ WHERE ___\", function(e) {//callback});\r\n{code}\r\n\r\nThe latter is a) easier for me; b) a cleaner separation; c) makes it clear that yahoo/facebook not part of core.\r\n\r\nThe former is simply easier for our customers/users, of course.\r\n\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-07T08:26:07.000+0000", "updated": "2012-08-07T08:26:07.000+0000" }, { "id": "242302", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think given that we are already moving facebook out of core in 3.1, this ticket may be invalid. ", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T20:31:28.000+0000", "updated": "2013-03-14T20:31:28.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }