{"action":"created","issue":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/issues/28","labels_url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/issues/28/comments","events_url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/issues/28/events","html_url":"https://github.com/AmpersandJS/ampersand-dom-bindings/pull/28","id":47356063,"number":28,"title":"implement switchAttribute binding","user":{"login":"chesles","id":149885,"avatar_url":"https://avatars.githubusercontent.com/u/149885?v=3","gravatar_id":"","url":"https://api.github.com/users/chesles","html_url":"https://github.com/chesles","followers_url":"https://api.github.com/users/chesles/followers","following_url":"https://api.github.com/users/chesles/following{/other_user}","gists_url":"https://api.github.com/users/chesles/gists{/gist_id}","starred_url":"https://api.github.com/users/chesles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesles/subscriptions","organizations_url":"https://api.github.com/users/chesles/orgs","repos_url":"https://api.github.com/users/chesles/repos","events_url":"https://api.github.com/users/chesles/events{/privacy}","received_events_url":"https://api.github.com/users/chesles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/labels/enhancement","name":"enhancement","color":"207de5"},{"url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/labels/request","name":"request","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-31T02:55:53Z","updated_at":"2015-03-26T17:06:07Z","closed_at":"2015-03-26T16:45:24Z","pull_request":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/pulls/28","html_url":"https://github.com/AmpersandJS/ampersand-dom-bindings/pull/28","diff_url":"https://github.com/AmpersandJS/ampersand-dom-bindings/pull/28.diff","patch_url":"https://github.com/AmpersandJS/ampersand-dom-bindings/pull/28.patch"},"body":"Implements `switchAttribute` binding as described in https://github.com/AmpersandJS/ampersand-dom-bindings/issues/25\r\n\r\n- supports using either a `name: \"attribute name\"` option, or providing a key/value object as the case value, where the keys become the attribute names to set\r\n- different values can set different attributes safely - attributes set by the previous value are cleared\r\n- If the value is not handled in one of the cases, the previously-set attributes are cleared"},"comment":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/issues/comments/86627086","html_url":"https://github.com/AmpersandJS/ampersand-dom-bindings/pull/28#issuecomment-86627086","issue_url":"https://api.github.com/repos/AmpersandJS/ampersand-dom-bindings/issues/28","id":86627086,"user":{"login":"lukekarrys","id":542108,"avatar_url":"https://avatars.githubusercontent.com/u/542108?v=3","gravatar_id":"","url":"https://api.github.com/users/lukekarrys","html_url":"https://github.com/lukekarrys","followers_url":"https://api.github.com/users/lukekarrys/followers","following_url":"https://api.github.com/users/lukekarrys/following{/other_user}","gists_url":"https://api.github.com/users/lukekarrys/gists{/gist_id}","starred_url":"https://api.github.com/users/lukekarrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukekarrys/subscriptions","organizations_url":"https://api.github.com/users/lukekarrys/orgs","repos_url":"https://api.github.com/users/lukekarrys/repos","events_url":"https://api.github.com/users/lukekarrys/events{/privacy}","received_events_url":"https://api.github.com/users/lukekarrys/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T17:06:07Z","updated_at":"2015-03-26T17:06:07Z","body":"Published as `v3.4.0`"}}