{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/api.jquery.com/issues/523","repository_url":"https://api.github.com/repos/jquery/api.jquery.com","labels_url":"https://api.github.com/repos/jquery/api.jquery.com/issues/523/labels{/name}","comments_url":"https://api.github.com/repos/jquery/api.jquery.com/issues/523/comments","events_url":"https://api.github.com/repos/jquery/api.jquery.com/issues/523/events","html_url":"https://github.com/jquery/api.jquery.com/issues/523","id":37519931,"number":523,"title":"attr: Document attr(key, null) to remove attribute","user":{"login":"Krinkle","id":156867,"avatar_url":"https://avatars.githubusercontent.com/u/156867?v=3","gravatar_id":"","url":"https://api.github.com/users/Krinkle","html_url":"https://github.com/Krinkle","followers_url":"https://api.github.com/users/Krinkle/followers","following_url":"https://api.github.com/users/Krinkle/following{/other_user}","gists_url":"https://api.github.com/users/Krinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/Krinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krinkle/subscriptions","organizations_url":"https://api.github.com/users/Krinkle/orgs","repos_url":"https://api.github.com/users/Krinkle/repos","events_url":"https://api.github.com/users/Krinkle/events{/privacy}","received_events_url":"https://api.github.com/users/Krinkle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-07-09T23:46:36Z","updated_at":"2016-03-17T18:23:10Z","closed_at":"2015-12-24T18:44:02Z","body":"Our unit tests cover it explicitly, and the code implements it explicitly:\r\n```js\r\n\t\tif ( value !== undefined ) {\r\n\r\n\t\t\tif ( value === null ) {\r\n\t\t\t\tjQuery.removeAttr( elem, name );\r\n```\r\n\r\nFrom the API perspective I'd also say this makes a lot of sense as it allows roundtripping between the getter returning null and the setter receiving null."},"comment":{"url":"https://api.github.com/repos/jquery/api.jquery.com/issues/comments/198016099","html_url":"https://github.com/jquery/api.jquery.com/issues/523#issuecomment-198016099","issue_url":"https://api.github.com/repos/jquery/api.jquery.com/issues/523","id":198016099,"user":{"login":"Krinkle","id":156867,"avatar_url":"https://avatars.githubusercontent.com/u/156867?v=3","gravatar_id":"","url":"https://api.github.com/users/Krinkle","html_url":"https://github.com/Krinkle","followers_url":"https://api.github.com/users/Krinkle/followers","following_url":"https://api.github.com/users/Krinkle/following{/other_user}","gists_url":"https://api.github.com/users/Krinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/Krinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krinkle/subscriptions","organizations_url":"https://api.github.com/users/Krinkle/orgs","repos_url":"https://api.github.com/users/Krinkle/repos","events_url":"https://api.github.com/users/Krinkle/events{/privacy}","received_events_url":"https://api.github.com/users/Krinkle/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T18:23:10Z","updated_at":"2016-03-17T18:23:10Z","body":"I still don't see this reflected on <https://api.jquery.com/attr/> ?"}}