{ "id": "86349", "key": "TIMOB-7621", "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": [ { "id": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-12T13:01:34.000+0000", "created": "2012-02-10T16:25:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-04T00:20:36.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Need to implement the module compile process for Mobile Web modules. This will embed the manifest variables into the module, then minify the module, and bundle everything up.", "attachment": [], "flagged": false, "summary": "MobileWeb: Compile Ti+ modules", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "185930", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/1639", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-12T03:56:33.000+0000", "updated": "2012-03-12T03:56:33.000+0000" }, { "id": "185932", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test this, do the following:\r\n\r\n0) Do a FULL scons of titanium_mobile\r\n\r\n1) Create a module:\r\n\r\n{code}\r\npython /Library/Application\\ Support/Titanium/mobilesdk/osx/2.0.0/titanium.py create --platform=mobileweb --type=module --dir=. --name=mymodule --id=mymodule\r\n{code}\r\n\r\n2) Build the module\r\n\r\n{code}\r\ncd mymodule\r\npython build.py\r\n{code}\r\n\r\n3) Install the module into either the global modules folder -or- create a \"modules\" folder in your project as a sibling of the Resources directory.\r\n\r\n4) Add the module to the tiapp.xml\r\n\r\n{code}\r\n\r\n mymodule\r\n\r\n{code}\r\n\r\n5) Copy the mymodule/0.1/example/app.js to the Resources/app.js\r\n\r\n6) Build the project\r\n\r\n7) Run the project in a web browser\r\n\r\n8) View the console output and should look like this:\r\n\r\n{code}\r\n[INFO] module is => [object Object]\r\n[INFO] module exampleProp is => hello world\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-12T04:15:12.000+0000", "updated": "2012-03-12T04:20:27.000+0000" }, { "id": "409244", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to MobileWeb no longer being supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-04T00:20:36.000+0000", "updated": "2017-03-04T00:20:36.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }