{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/1739","repository_url":"https://api.github.com/repos/cfpb/cfgov-refresh","labels_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/1739/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/1739/comments","events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/1739/events","html_url":"https://github.com/cfpb/cfgov-refresh/pull/1739","id":144299380,"number":1739,"title":"Fix JS bug","user":{"login":"kurtw","id":1412978,"avatar_url":"https://avatars.githubusercontent.com/u/1412978?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtw","html_url":"https://github.com/kurtw","followers_url":"https://api.github.com/users/kurtw/followers","following_url":"https://api.github.com/users/kurtw/following{/other_user}","gists_url":"https://api.github.com/users/kurtw/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtw/subscriptions","organizations_url":"https://api.github.com/users/kurtw/orgs","repos_url":"https://api.github.com/users/kurtw/repos","events_url":"https://api.github.com/users/kurtw/events{/privacy}","received_events_url":"https://api.github.com/users/kurtw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T15:27:00Z","updated_at":"2016-03-29T15:49:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/1739","html_url":"https://github.com/cfpb/cfgov-refresh/pull/1739","diff_url":"https://github.com/cfpb/cfgov-refresh/pull/1739.diff","patch_url":"https://github.com/cfpb/cfgov-refresh/pull/1739.patch"},"body":"Initializing the blocks to get a Media.js attribute was more costly and error prone than just reusing the objects that contain it anyway.\r\n\r\n## Removals\r\n\r\n- unnecessary and error prone block initialization\r\n\r\n## Testing\r\n\r\n- Go to  http://localhost:8000/policy-compliance/amicus/briefs/ and make sure the JS is initialized properly\r\n- Go to these to make sure they render properly:\r\n - localhost:8000/privacy/\r\n - localhost:8000/accessibility/\r\n - localhost:8000/about-us/project-catalyst/\r\n - localhost:8000/office-civil-rights/\r\n - localhost:8000/policy-compliance/enforcement/\r\n\r\n## Review\r\n\r\n- @kave \r\n- @richaagarwal \r\n"},"comment":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/comments/202969761","html_url":"https://github.com/cfpb/cfgov-refresh/pull/1739#issuecomment-202969761","issue_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/1739","id":202969761,"user":{"login":"anselmbradford","id":704760,"avatar_url":"https://avatars.githubusercontent.com/u/704760?v=3","gravatar_id":"","url":"https://api.github.com/users/anselmbradford","html_url":"https://github.com/anselmbradford","followers_url":"https://api.github.com/users/anselmbradford/followers","following_url":"https://api.github.com/users/anselmbradford/following{/other_user}","gists_url":"https://api.github.com/users/anselmbradford/gists{/gist_id}","starred_url":"https://api.github.com/users/anselmbradford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anselmbradford/subscriptions","organizations_url":"https://api.github.com/users/anselmbradford/orgs","repos_url":"https://api.github.com/users/anselmbradford/repos","events_url":"https://api.github.com/users/anselmbradford/events{/privacy}","received_events_url":"https://api.github.com/users/anselmbradford/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T15:49:48Z","updated_at":"2016-03-29T15:49:48Z","body":"LGTM :+1: \r\n\r\n![block](https://cloud.githubusercontent.com/assets/704760/14114266/53e85362-f5a4-11e5-95d2-681c5df01193.jpeg)\r\n"}}