{"action":"created","issue":{"url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/issues/2","repository_url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser","labels_url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/issues/2/comments","events_url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/issues/2/events","html_url":"https://github.com/tom-james-watson/reddit-comment-collapser/pull/2","id":142997012,"number":2,"title":"Remove jQuery dependency","user":{"login":"SamHH","id":6402443,"avatar_url":"https://avatars.githubusercontent.com/u/6402443?v=3","gravatar_id":"","url":"https://api.github.com/users/SamHH","html_url":"https://github.com/SamHH","followers_url":"https://api.github.com/users/SamHH/followers","following_url":"https://api.github.com/users/SamHH/following{/other_user}","gists_url":"https://api.github.com/users/SamHH/gists{/gist_id}","starred_url":"https://api.github.com/users/SamHH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamHH/subscriptions","organizations_url":"https://api.github.com/users/SamHH/orgs","repos_url":"https://api.github.com/users/SamHH/repos","events_url":"https://api.github.com/users/SamHH/events{/privacy}","received_events_url":"https://api.github.com/users/SamHH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-03-23T15:44:45Z","updated_at":"2016-10-04T14:03:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/pulls/2","html_url":"https://github.com/tom-james-watson/reddit-comment-collapser/pull/2","diff_url":"https://github.com/tom-james-watson/reddit-comment-collapser/pull/2.diff","patch_url":"https://github.com/tom-james-watson/reddit-comment-collapser/pull/2.patch"},"body":"Heya Tom!\r\n\r\nI've spent a few hours removing jQuery from your extension as it seems like needless bloat. This PR includes a fully working (as far as I can tell) vanilla JavaScript implementation. There are also some very minor stylistic changes I've made, for example renaming the `colours` var to `colors` for consistency with the code we're working with (and I say that as a Brit!). I've also gone to the liberty of adding myself as a major contributor, but that's just me tooting my own horn - I'm happy to remove that if you'd like haha.\r\n\r\n**Things that are currently missing:**\r\n- The animation to hide the comment upon collapse (see: https://github.com/tom-james-watson/reddit-comment-collapser/blob/master/js/comment-collapser.js#L106). I've left a couple of TODO comments in the script to mark the two affected areas.\r\n\r\n**Things that I forgot to do for this PR:**\r\n- Add a minimum supported version of Chrome to the manifest. If I had to guess it'd likely be around Chrome 41. If you'd like to reject this PR in favour of more legacy browser support then let me know and I'll stick up my fork as a separate extension.\r\n\r\n:-)"},"comment":{"url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/issues/comments/251396985","html_url":"https://github.com/tom-james-watson/reddit-comment-collapser/pull/2#issuecomment-251396985","issue_url":"https://api.github.com/repos/tom-james-watson/reddit-comment-collapser/issues/2","id":251396985,"user":{"login":"SamHH","id":6402443,"avatar_url":"https://avatars.githubusercontent.com/u/6402443?v=3","gravatar_id":"","url":"https://api.github.com/users/SamHH","html_url":"https://github.com/SamHH","followers_url":"https://api.github.com/users/SamHH/followers","following_url":"https://api.github.com/users/SamHH/following{/other_user}","gists_url":"https://api.github.com/users/SamHH/gists{/gist_id}","starred_url":"https://api.github.com/users/SamHH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamHH/subscriptions","organizations_url":"https://api.github.com/users/SamHH/orgs","repos_url":"https://api.github.com/users/SamHH/repos","events_url":"https://api.github.com/users/SamHH/events{/privacy}","received_events_url":"https://api.github.com/users/SamHH/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T14:03:28Z","updated_at":"2016-10-04T14:03:28Z","body":"Sure thing, I'll do that now."}}
{"actor":{"display_login":"SamHH"}}