{ "id": "116425", "key": "ALOY-721", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15529", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-25T22:10:06.000+0000", "created": "2013-06-25T18:18:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-22T23:05: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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "We have addClass() and removeClass(), but it would nice to be able to completely reset the \"classes\" of a Titanium proxy object to a specific state. For this we should add resetClass(proxy, classes, opts) which would make the \"classes\" of the target proxy equal to the given classes argument.", "attachment": [], "flagged": false, "summary": "Alloy.resetClass() & $.resetClass()", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "259430", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/164\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-721\r\n\r\nFunctional review can be verified by running the app and clicking the main (center) label multiple times. Each time you click the label it should reset to a new set of classes (indicated at the bottom of the app). Confirm on all platforms that the label reflects the current set of classes to verify.\r\n\r\nNOTE: Android does not support shadow, so shadow styles will not appear.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T22:10:06.000+0000", "updated": "2013-06-25T22:10:06.000+0000" }, { "id": "262743", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as working as expected.\n\nEnvironment:\n\nTitanium SDK 3.1.2.v20130718094558\nAppcelerator Studio 3.1.2.201307191853\nAlloy 1.2.0\nLiveView 0.1.28 (from Beta stream)\n\nAndroid device 4.2.2 - iPhone 5 6.1.4\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-22T23:05:13.000+0000", "updated": "2013-07-22T23:05:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }