{"action":"created","comment":{"url":"https://api.github.com/repos/emenlu/website/pulls/comments/98334017","pull_request_review_id":18976236,"id":98334017,"diff_hunk":"@@ -87,10 +87,24 @@ $(function() {\n                 .fail(xhr => complain(xhr.responseText))\n         })\n \n-        $(\"#input0\").autocomplete({\n-            source: friends,\n-            appendTo: \"#modal\"\n+        $(\"#input0\").attr(\"data-list\", friends );\n+\n+        new Awesomplete( (\"#input0\"), {\n+            \n+            filter: function(text, input) {\n+                return Awesomplete.FILTER_CONTAINS(text, input.match(/[^,]*$/)[0]);","path":"src/js/profile.js","position":null,"original_position":12,"commit_id":"8b48bb6b976da46796e98d543a2a1e460cf879d3","original_commit_id":"402e48a5ab5b4d99cf37233d079a03ff12e37bd5","user":{"login":"smeetz","id":6011225,"avatar_url":"https://avatars.githubusercontent.com/u/6011225?v=3","gravatar_id":"","url":"https://api.github.com/users/smeetz","html_url":"https://github.com/smeetz","followers_url":"https://api.github.com/users/smeetz/followers","following_url":"https://api.github.com/users/smeetz/following{/other_user}","gists_url":"https://api.github.com/users/smeetz/gists{/gist_id}","starred_url":"https://api.github.com/users/smeetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smeetz/subscriptions","organizations_url":"https://api.github.com/users/smeetz/orgs","repos_url":"https://api.github.com/users/smeetz/repos","events_url":"https://api.github.com/users/smeetz/events{/privacy}","received_events_url":"https://api.github.com/users/smeetz/received_events","type":"User","site_admin":false},"body":"Yeah that's a good compromise:\r\n\r\n```\r\n/friends --> friends of logged in user\r\n/friends?email=... --> friends of queried user\r\n```","created_at":"2017-01-28T16:27:55Z","updated_at":"2017-01-28T16:27:56Z","html_url":"https://github.com/emenlu/website/pull/72#discussion_r98334017","pull_request_url":"https://api.github.com/repos/emenlu/website/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/emenlu/website/pulls/comments/98334017"},"html":{"href":"https://github.com/emenlu/website/pull/72#discussion_r98334017"},"pull_request":{"href":"https://api.github.com/repos/emenlu/website/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/emenlu/website/pulls/72","id":102713362,"html_url":"https://github.com/emenlu/website/pull/72","diff_url":"https://github.com/emenlu/website/pull/72.diff","patch_url":"https://github.com/emenlu/website/pull/72.patch","issue_url":"https://api.github.com/repos/emenlu/website/issues/72","number":72,"state":"open","locked":false,"title":"I71 improve autcomplete","user":{"login":"J-Son89","id":22799766,"avatar_url":"https://avatars.githubusercontent.com/u/22799766?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Son89","html_url":"https://github.com/J-Son89","followers_url":"https://api.github.com/users/J-Son89/followers","following_url":"https://api.github.com/users/J-Son89/following{/other_user}","gists_url":"https://api.github.com/users/J-Son89/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Son89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Son89/subscriptions","organizations_url":"https://api.github.com/users/J-Son89/orgs","repos_url":"https://api.github.com/users/J-Son89/repos","events_url":"https://api.github.com/users/J-Son89/events{/privacy}","received_events_url":"https://api.github.com/users/J-Son89/received_events","type":"User","site_admin":false},"body":"Removed jquery ui autocomplete and instead using awesomplete as it is much lighter.\r\nSome small styling changes too. ","created_at":"2017-01-23T12:54:44Z","updated_at":"2017-01-28T16:27:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36a6235722af3f92dd393a2b4de3b3d489aa22bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/emenlu/website/pulls/72/commits","review_comments_url":"https://api.github.com/repos/emenlu/website/pulls/72/comments","review_comment_url":"https://api.github.com/repos/emenlu/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emenlu/website/issues/72/comments","statuses_url":"https://api.github.com/repos/emenlu/website/statuses/8b48bb6b976da46796e98d543a2a1e460cf879d3","head":{"label":"emenlu:i71-improve-autcomplete","ref":"i71-improve-autcomplete","sha":"8b48bb6b976da46796e98d543a2a1e460cf879d3","user":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"repo":{"id":59488267,"name":"website","full_name":"emenlu/website","owner":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emenlu/website","description":"SERP Connect frontend matter","fork":false,"url":"https://api.github.com/repos/emenlu/website","forks_url":"https://api.github.com/repos/emenlu/website/forks","keys_url":"https://api.github.com/repos/emenlu/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emenlu/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emenlu/website/teams","hooks_url":"https://api.github.com/repos/emenlu/website/hooks","issue_events_url":"https://api.github.com/repos/emenlu/website/issues/events{/number}","events_url":"https://api.github.com/repos/emenlu/website/events","assignees_url":"https://api.github.com/repos/emenlu/website/assignees{/user}","branches_url":"https://api.github.com/repos/emenlu/website/branches{/branch}","tags_url":"https://api.github.com/repos/emenlu/website/tags","blobs_url":"https://api.github.com/repos/emenlu/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emenlu/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emenlu/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/emenlu/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emenlu/website/statuses/{sha}","languages_url":"https://api.github.com/repos/emenlu/website/languages","stargazers_url":"https://api.github.com/repos/emenlu/website/stargazers","contributors_url":"https://api.github.com/repos/emenlu/website/contributors","subscribers_url":"https://api.github.com/repos/emenlu/website/subscribers","subscription_url":"https://api.github.com/repos/emenlu/website/subscription","commits_url":"https://api.github.com/repos/emenlu/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/emenlu/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/emenlu/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/emenlu/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/emenlu/website/contents/{+path}","compare_url":"https://api.github.com/repos/emenlu/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emenlu/website/merges","archive_url":"https://api.github.com/repos/emenlu/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emenlu/website/downloads","issues_url":"https://api.github.com/repos/emenlu/website/issues{/number}","pulls_url":"https://api.github.com/repos/emenlu/website/pulls{/number}","milestones_url":"https://api.github.com/repos/emenlu/website/milestones{/number}","notifications_url":"https://api.github.com/repos/emenlu/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emenlu/website/labels{/name}","releases_url":"https://api.github.com/repos/emenlu/website/releases{/id}","deployments_url":"https://api.github.com/repos/emenlu/website/deployments","created_at":"2016-05-23T14:11:55Z","updated_at":"2016-10-26T13:46:23Z","pushed_at":"2017-01-27T20:36:59Z","git_url":"git://github.com/emenlu/website.git","ssh_url":"git@github.com:emenlu/website.git","clone_url":"https://github.com/emenlu/website.git","svn_url":"https://github.com/emenlu/website","homepage":"https://serpconnect.cs.lth.se","size":481,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":0,"default_branch":"master"}},"base":{"label":"emenlu:master","ref":"master","sha":"09cb3739541339544401bd172c56a59fcf2f72db","user":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"repo":{"id":59488267,"name":"website","full_name":"emenlu/website","owner":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emenlu/website","description":"SERP Connect frontend matter","fork":false,"url":"https://api.github.com/repos/emenlu/website","forks_url":"https://api.github.com/repos/emenlu/website/forks","keys_url":"https://api.github.com/repos/emenlu/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emenlu/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emenlu/website/teams","hooks_url":"https://api.github.com/repos/emenlu/website/hooks","issue_events_url":"https://api.github.com/repos/emenlu/website/issues/events{/number}","events_url":"https://api.github.com/repos/emenlu/website/events","assignees_url":"https://api.github.com/repos/emenlu/website/assignees{/user}","branches_url":"https://api.github.com/repos/emenlu/website/branches{/branch}","tags_url":"https://api.github.com/repos/emenlu/website/tags","blobs_url":"https://api.github.com/repos/emenlu/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emenlu/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emenlu/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/emenlu/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emenlu/website/statuses/{sha}","languages_url":"https://api.github.com/repos/emenlu/website/languages","stargazers_url":"https://api.github.com/repos/emenlu/website/stargazers","contributors_url":"https://api.github.com/repos/emenlu/website/contributors","subscribers_url":"https://api.github.com/repos/emenlu/website/subscribers","subscription_url":"https://api.github.com/repos/emenlu/website/subscription","commits_url":"https://api.github.com/repos/emenlu/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/emenlu/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/emenlu/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/emenlu/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/emenlu/website/contents/{+path}","compare_url":"https://api.github.com/repos/emenlu/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emenlu/website/merges","archive_url":"https://api.github.com/repos/emenlu/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emenlu/website/downloads","issues_url":"https://api.github.com/repos/emenlu/website/issues{/number}","pulls_url":"https://api.github.com/repos/emenlu/website/pulls{/number}","milestones_url":"https://api.github.com/repos/emenlu/website/milestones{/number}","notifications_url":"https://api.github.com/repos/emenlu/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emenlu/website/labels{/name}","releases_url":"https://api.github.com/repos/emenlu/website/releases{/id}","deployments_url":"https://api.github.com/repos/emenlu/website/deployments","created_at":"2016-05-23T14:11:55Z","updated_at":"2016-10-26T13:46:23Z","pushed_at":"2017-01-27T20:36:59Z","git_url":"git://github.com/emenlu/website.git","ssh_url":"git@github.com:emenlu/website.git","clone_url":"https://github.com/emenlu/website.git","svn_url":"https://github.com/emenlu/website","homepage":"https://serpconnect.cs.lth.se","size":481,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emenlu/website/pulls/72"},"html":{"href":"https://github.com/emenlu/website/pull/72"},"issue":{"href":"https://api.github.com/repos/emenlu/website/issues/72"},"comments":{"href":"https://api.github.com/repos/emenlu/website/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/emenlu/website/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/emenlu/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emenlu/website/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/emenlu/website/statuses/8b48bb6b976da46796e98d543a2a1e460cf879d3"}}}}
{"actor":{"display_login":"smeetz"}}