{ "id": "62345", "key": "TIMOB-1713", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2011-11-05T18:24:10.000+0000", "created": "2011-04-15T03:00:15.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [ { "id": "15672", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "87519", "key": "TIMOB-7918", "fields": { "summary": "MobileWeb: XML parity issue", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15673", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "87640", "key": "TIMOB-7946", "fields": { "summary": "MobileWeb: Ti.XML implementation", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-10T15:01:09.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
DOM nodes in the Titanium Mobile iPhone and Android\r\nimplementations have a 'text' property which pulls the text content\r\nof the node and any of its child nodes. While this is very handy,\r\nit's not compatible with WebKit and other browser DOM\r\nimplementations, which complicates adapting code from Titanium\r\nDesktop or browser environments.
\r\nDOM level 3 specifies a textContent property for this, which is\r\nsupported by most browsers. IE has an equivalent innerText\r\nproperty; existing cross-browser toolkits like jQuery check both so\r\nshould start \"just working\" in this respect if textContent is\r\nadded. (Of course any other remaining incompatibilities need to be\r\nfixed too!)
\r\nhttps://developer.mozilla.org/En/DOM/Node.textContent
\r\n\r\nhttp://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#N...
\r\nAdding a compatible getter should be a very easy patch.
We only guarantee support for DOM 2 features.
Actually going to TBS this. Why not.