{ "id": "91481", "key": "TIMOB-9017", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-08-02T21:00:11.000+0000", "created": "2012-05-07T12:12:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "30608", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "63110", "key": "TIMOB-2478", "fields": { "summary": "Tooling: Allow Excluding JS files from Compilation", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:15:12.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": "10207", "name": "Tooling" } ], "description": null, "attachment": [], "flagged": false, "summary": "Tooling: JavaScript files under the resource directory of a project are compiled into the binary. There should be a way to include *.js files in the binary that are not precompiled in.", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "195478", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This ticket requires some actual information about the requested feature. The summary is not enough.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-21T12:13:39.000+0000", "updated": "2012-05-21T12:13:39.000+0000" }, { "id": "195560", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not critical anymore as we have been moving to commonjs so being compiled into binary not an issue. However the bug still is valid but on a low priority. Currently we are scanning the resource folder and when we see a JavaScript file *.js it is bundled in the binary and not available through the FileSystem poof - it automagically disappears so the following will not work:\r\n\r\n...\r\n// bring in selector engine\r\nfile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, \"lib\", \"sizzle.js\");\r\neval(file.read().text);\t\r\n...\r\n\r\nIf more info is needed Blain explained the problem to me so understands what is sup here.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-21T20:06:31.000+0000", "updated": "2012-05-21T20:06:31.000+0000" }, { "id": "201682", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "I got hit bug this bug. I have a .js file I use to inject some JS into a webView, and it worked perfectly on the Simulator, but on the device nothing happened. Finally after trying everything, I found this ticket. Can this please get fixed, or at least documented, so no one else have to waste time on this.\r\n\r\nFor those wondering, the workaround is to just rename the .js file to another extension, like .txt.", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2012-07-05T14:38:46.000+0000", "updated": "2012-07-05T14:38:46.000+0000" }, { "id": "264800", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-2478.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-02T21:00:11.000+0000", "updated": "2013-08-02T21:00:11.000+0000" }, { "id": "415100", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:15:12.000+0000", "updated": "2017-03-22T22:15:12.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }