{"action":"opened","issue":{"number":46,"created_at":"2011-10-15T02:51:09Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"### Imported from backplanejs Google Code [issue 46](http://code.google.com/p/backplanejs/issues/detail?id=46).\n\n<table>\n\t<tr>\n\t\t<th>Reporter</th>\n\t\t<td><a href=\"https://github.com/markbirbeck\">markbirbeck</a></td>\n\t</tr>\n\t<tr>\n\t\t<th>Date</th>\n\t\t<td>24 Apr 2010  4:50:34 PM UTC</td>\n\t</tr>\n</table>\nIt's well known that adding and removing classes from HTML elements is \ntime-consuming.\n\nWe currently use the YUI addClass() and removeClass() functions to set and \nremove classes, but we should also use the hasClass() function to check \nwhether we actually need to make the change.","comments":0,"title":"Check whether class name is absent/present when adding/removing class names","updated_at":"2011-10-15T02:51:09Z","url":"https://api.github.com/repos/backplane-import/backplanejs/issues/46","id":1915891,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/d9eef3a47b3d8a652e7a4cd1210337db?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d9eef3a47b3d8a652e7a4cd1210337db","url":"https://api.github.com/users/backplane-import","id":1123459,"login":"backplane-import"},"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d9eef3a47b3d8a652e7a4cd1210337db?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d9eef3a47b3d8a652e7a4cd1210337db","url":"https://api.github.com/users/backplane-import","id":1123459,"login":"backplane-import"},"html_url":"https://github.com/backplane-import/backplanejs/issues/46","labels":[],"state":"open"},"legacy":{"number":46,"action":"opened","issue":1915891}}