{"action":"created","comment":{"url":"https://api.github.com/repos/erming/shout/pulls/comments/50272271","id":50272271,"diff_hunk":"@@ -600,7 +613,9 @@ $(function() {\n \t\tvar button = sidebar.find(\".chan[data-target=\" + target + \"]\");\n \t\tvar isQuery = button.hasClass(\"query\");\n \t\tvar type = msg.type;\n-\t\tvar highlight = type.contains(\"highlight\");\n+\t\tvar highlight = type.contains(\"highlight\")|| highlights.some(function(h) {","path":"client/js/shout.js","position":25,"original_position":25,"commit_id":"fb9ddd3c6ebb0f8c66b2d3e6998892eebde4309a","original_commit_id":"fb9ddd3c6ebb0f8c66b2d3e6998892eebde4309a","user":{"login":"YaManicKill","id":2162657,"avatar_url":"https://avatars.githubusercontent.com/u/2162657?v=3","gravatar_id":"","url":"https://api.github.com/users/YaManicKill","html_url":"https://github.com/YaManicKill","followers_url":"https://api.github.com/users/YaManicKill/followers","following_url":"https://api.github.com/users/YaManicKill/following{/other_user}","gists_url":"https://api.github.com/users/YaManicKill/gists{/gist_id}","starred_url":"https://api.github.com/users/YaManicKill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaManicKill/subscriptions","organizations_url":"https://api.github.com/users/YaManicKill/orgs","repos_url":"https://api.github.com/users/YaManicKill/repos","events_url":"https://api.github.com/users/YaManicKill/events{/privacy}","received_events_url":"https://api.github.com/users/YaManicKill/received_events","type":"User","site_admin":false},"body":"Also, yeah, silly missing space. Need to sort out my formatter in atom.","created_at":"2016-01-20T15:53:02Z","updated_at":"2016-01-20T15:53:02Z","html_url":"https://github.com/erming/shout/pull/580#discussion_r50272271","pull_request_url":"https://api.github.com/repos/erming/shout/pulls/580","_links":{"self":{"href":"https://api.github.com/repos/erming/shout/pulls/comments/50272271"},"html":{"href":"https://github.com/erming/shout/pull/580#discussion_r50272271"},"pull_request":{"href":"https://api.github.com/repos/erming/shout/pulls/580"}}},"pull_request":{"url":"https://api.github.com/repos/erming/shout/pulls/580","id":55956441,"html_url":"https://github.com/erming/shout/pull/580","diff_url":"https://github.com/erming/shout/pull/580.diff","patch_url":"https://github.com/erming/shout/pull/580.patch","issue_url":"https://api.github.com/repos/erming/shout/issues/580","number":580,"state":"open","locked":false,"title":"Add custom highlights.","user":{"login":"YaManicKill","id":2162657,"avatar_url":"https://avatars.githubusercontent.com/u/2162657?v=3","gravatar_id":"","url":"https://api.github.com/users/YaManicKill","html_url":"https://github.com/YaManicKill","followers_url":"https://api.github.com/users/YaManicKill/followers","following_url":"https://api.github.com/users/YaManicKill/following{/other_user}","gists_url":"https://api.github.com/users/YaManicKill/gists{/gist_id}","starred_url":"https://api.github.com/users/YaManicKill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaManicKill/subscriptions","organizations_url":"https://api.github.com/users/YaManicKill/orgs","repos_url":"https://api.github.com/users/YaManicKill/repos","events_url":"https://api.github.com/users/YaManicKill/events{/privacy}","received_events_url":"https://api.github.com/users/YaManicKill/received_events","type":"User","site_admin":false},"body":"A couple of issues with this PR still.\r\n\r\n1. I think that highlights really need to be saved across browsers. I'm not sure what others think.\r\n2. I need to rearrange the settings a little bit still.\r\n\r\nBut thought I'd stick it up now to see what people think.","created_at":"2016-01-13T21:14:00Z","updated_at":"2016-01-20T15:53:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4f9af520f393b4f2477bc89c165183b3f23d7b9","assignee":{"login":"astorije","id":113730,"avatar_url":"https://avatars.githubusercontent.com/u/113730?v=3","gravatar_id":"","url":"https://api.github.com/users/astorije","html_url":"https://github.com/astorije","followers_url":"https://api.github.com/users/astorije/followers","following_url":"https://api.github.com/users/astorije/following{/other_user}","gists_url":"https://api.github.com/users/astorije/gists{/gist_id}","starred_url":"https://api.github.com/users/astorije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorije/subscriptions","organizations_url":"https://api.github.com/users/astorije/orgs","repos_url":"https://api.github.com/users/astorije/repos","events_url":"https://api.github.com/users/astorije/events{/privacy}","received_events_url":"https://api.github.com/users/astorije/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/erming/shout/pulls/580/commits","review_comments_url":"https://api.github.com/repos/erming/shout/pulls/580/comments","review_comment_url":"https://api.github.com/repos/erming/shout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/erming/shout/issues/580/comments","statuses_url":"https://api.github.com/repos/erming/shout/statuses/fb9ddd3c6ebb0f8c66b2d3e6998892eebde4309a","head":{"label":"YaManicKill:custom-highlights","ref":"custom-highlights","sha":"fb9ddd3c6ebb0f8c66b2d3e6998892eebde4309a","user":{"login":"YaManicKill","id":2162657,"avatar_url":"https://avatars.githubusercontent.com/u/2162657?v=3","gravatar_id":"","url":"https://api.github.com/users/YaManicKill","html_url":"https://github.com/YaManicKill","followers_url":"https://api.github.com/users/YaManicKill/followers","following_url":"https://api.github.com/users/YaManicKill/following{/other_user}","gists_url":"https://api.github.com/users/YaManicKill/gists{/gist_id}","starred_url":"https://api.github.com/users/YaManicKill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaManicKill/subscriptions","organizations_url":"https://api.github.com/users/YaManicKill/orgs","repos_url":"https://api.github.com/users/YaManicKill/repos","events_url":"https://api.github.com/users/YaManicKill/events{/privacy}","received_events_url":"https://api.github.com/users/YaManicKill/received_events","type":"User","site_admin":false},"repo":{"id":48296867,"name":"shout","full_name":"YaManicKill/shout","owner":{"login":"YaManicKill","id":2162657,"avatar_url":"https://avatars.githubusercontent.com/u/2162657?v=3","gravatar_id":"","url":"https://api.github.com/users/YaManicKill","html_url":"https://github.com/YaManicKill","followers_url":"https://api.github.com/users/YaManicKill/followers","following_url":"https://api.github.com/users/YaManicKill/following{/other_user}","gists_url":"https://api.github.com/users/YaManicKill/gists{/gist_id}","starred_url":"https://api.github.com/users/YaManicKill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaManicKill/subscriptions","organizations_url":"https://api.github.com/users/YaManicKill/orgs","repos_url":"https://api.github.com/users/YaManicKill/repos","events_url":"https://api.github.com/users/YaManicKill/events{/privacy}","received_events_url":"https://api.github.com/users/YaManicKill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YaManicKill/shout","description":"Shout — The self-hosted web IRC client","fork":true,"url":"https://api.github.com/repos/YaManicKill/shout","forks_url":"https://api.github.com/repos/YaManicKill/shout/forks","keys_url":"https://api.github.com/repos/YaManicKill/shout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaManicKill/shout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaManicKill/shout/teams","hooks_url":"https://api.github.com/repos/YaManicKill/shout/hooks","issue_events_url":"https://api.github.com/repos/YaManicKill/shout/issues/events{/number}","events_url":"https://api.github.com/repos/YaManicKill/shout/events","assignees_url":"https://api.github.com/repos/YaManicKill/shout/assignees{/user}","branches_url":"https://api.github.com/repos/YaManicKill/shout/branches{/branch}","tags_url":"https://api.github.com/repos/YaManicKill/shout/tags","blobs_url":"https://api.github.com/repos/YaManicKill/shout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaManicKill/shout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaManicKill/shout/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaManicKill/shout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaManicKill/shout/statuses/{sha}","languages_url":"https://api.github.com/repos/YaManicKill/shout/languages","stargazers_url":"https://api.github.com/repos/YaManicKill/shout/stargazers","contributors_url":"https://api.github.com/repos/YaManicKill/shout/contributors","subscribers_url":"https://api.github.com/repos/YaManicKill/shout/subscribers","subscription_url":"https://api.github.com/repos/YaManicKill/shout/subscription","commits_url":"https://api.github.com/repos/YaManicKill/shout/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaManicKill/shout/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaManicKill/shout/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaManicKill/shout/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaManicKill/shout/contents/{+path}","compare_url":"https://api.github.com/repos/YaManicKill/shout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaManicKill/shout/merges","archive_url":"https://api.github.com/repos/YaManicKill/shout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaManicKill/shout/downloads","issues_url":"https://api.github.com/repos/YaManicKill/shout/issues{/number}","pulls_url":"https://api.github.com/repos/YaManicKill/shout/pulls{/number}","milestones_url":"https://api.github.com/repos/YaManicKill/shout/milestones{/number}","notifications_url":"https://api.github.com/repos/YaManicKill/shout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaManicKill/shout/labels{/name}","releases_url":"https://api.github.com/repos/YaManicKill/shout/releases{/id}","created_at":"2015-12-19T20:55:37Z","updated_at":"2015-12-19T21:51:47Z","pushed_at":"2016-01-14T06:51:45Z","git_url":"git://github.com/YaManicKill/shout.git","ssh_url":"git@github.com:YaManicKill/shout.git","clone_url":"https://github.com/YaManicKill/shout.git","svn_url":"https://github.com/YaManicKill/shout","homepage":"http://shout-irc.com/","size":10545,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"erming:master","ref":"master","sha":"2f5b1663d7ae6314cbcfad3b6b7cc3e037d6bc45","user":{"login":"erming","id":2502500,"avatar_url":"https://avatars.githubusercontent.com/u/2502500?v=3","gravatar_id":"","url":"https://api.github.com/users/erming","html_url":"https://github.com/erming","followers_url":"https://api.github.com/users/erming/followers","following_url":"https://api.github.com/users/erming/following{/other_user}","gists_url":"https://api.github.com/users/erming/gists{/gist_id}","starred_url":"https://api.github.com/users/erming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erming/subscriptions","organizations_url":"https://api.github.com/users/erming/orgs","repos_url":"https://api.github.com/users/erming/repos","events_url":"https://api.github.com/users/erming/events{/privacy}","received_events_url":"https://api.github.com/users/erming/received_events","type":"User","site_admin":false},"repo":{"id":17528018,"name":"shout","full_name":"erming/shout","owner":{"login":"erming","id":2502500,"avatar_url":"https://avatars.githubusercontent.com/u/2502500?v=3","gravatar_id":"","url":"https://api.github.com/users/erming","html_url":"https://github.com/erming","followers_url":"https://api.github.com/users/erming/followers","following_url":"https://api.github.com/users/erming/following{/other_user}","gists_url":"https://api.github.com/users/erming/gists{/gist_id}","starred_url":"https://api.github.com/users/erming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erming/subscriptions","organizations_url":"https://api.github.com/users/erming/orgs","repos_url":"https://api.github.com/users/erming/repos","events_url":"https://api.github.com/users/erming/events{/privacy}","received_events_url":"https://api.github.com/users/erming/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erming/shout","description":"Shout — The self-hosted web IRC client","fork":false,"url":"https://api.github.com/repos/erming/shout","forks_url":"https://api.github.com/repos/erming/shout/forks","keys_url":"https://api.github.com/repos/erming/shout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erming/shout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erming/shout/teams","hooks_url":"https://api.github.com/repos/erming/shout/hooks","issue_events_url":"https://api.github.com/repos/erming/shout/issues/events{/number}","events_url":"https://api.github.com/repos/erming/shout/events","assignees_url":"https://api.github.com/repos/erming/shout/assignees{/user}","branches_url":"https://api.github.com/repos/erming/shout/branches{/branch}","tags_url":"https://api.github.com/repos/erming/shout/tags","blobs_url":"https://api.github.com/repos/erming/shout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erming/shout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erming/shout/git/refs{/sha}","trees_url":"https://api.github.com/repos/erming/shout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erming/shout/statuses/{sha}","languages_url":"https://api.github.com/repos/erming/shout/languages","stargazers_url":"https://api.github.com/repos/erming/shout/stargazers","contributors_url":"https://api.github.com/repos/erming/shout/contributors","subscribers_url":"https://api.github.com/repos/erming/shout/subscribers","subscription_url":"https://api.github.com/repos/erming/shout/subscription","commits_url":"https://api.github.com/repos/erming/shout/commits{/sha}","git_commits_url":"https://api.github.com/repos/erming/shout/git/commits{/sha}","comments_url":"https://api.github.com/repos/erming/shout/comments{/number}","issue_comment_url":"https://api.github.com/repos/erming/shout/issues/comments{/number}","contents_url":"https://api.github.com/repos/erming/shout/contents/{+path}","compare_url":"https://api.github.com/repos/erming/shout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erming/shout/merges","archive_url":"https://api.github.com/repos/erming/shout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erming/shout/downloads","issues_url":"https://api.github.com/repos/erming/shout/issues{/number}","pulls_url":"https://api.github.com/repos/erming/shout/pulls{/number}","milestones_url":"https://api.github.com/repos/erming/shout/milestones{/number}","notifications_url":"https://api.github.com/repos/erming/shout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erming/shout/labels{/name}","releases_url":"https://api.github.com/repos/erming/shout/releases{/id}","created_at":"2014-03-07T21:30:16Z","updated_at":"2016-01-20T08:30:07Z","pushed_at":"2016-01-20T15:39:00Z","git_url":"git://github.com/erming/shout.git","ssh_url":"git@github.com:erming/shout.git","clone_url":"https://github.com/erming/shout.git","svn_url":"https://github.com/erming/shout","homepage":"http://shout-irc.com/","size":10819,"stargazers_count":3102,"watchers_count":3102,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"open_issues_count":192,"forks":272,"open_issues":192,"watchers":3102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/erming/shout/pulls/580"},"html":{"href":"https://github.com/erming/shout/pull/580"},"issue":{"href":"https://api.github.com/repos/erming/shout/issues/580"},"comments":{"href":"https://api.github.com/repos/erming/shout/issues/580/comments"},"review_comments":{"href":"https://api.github.com/repos/erming/shout/pulls/580/comments"},"review_comment":{"href":"https://api.github.com/repos/erming/shout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/erming/shout/pulls/580/commits"},"statuses":{"href":"https://api.github.com/repos/erming/shout/statuses/fb9ddd3c6ebb0f8c66b2d3e6998892eebde4309a"}}}}