{"action":"created","comment":{"url":"https://api.github.com/repos/zquestz/s/pulls/comments/60942187","id":60942187,"diff_hunk":"@@ -78,3 +82,87 @@ input:focus::-moz-placeholder{color:transparent}\n input:focus:-moz-placeholder{color:transparent}\n input:focus:-ms-input-placeholder{color:transparent}`\n )\n+\n+// indexJS is the javascript for the main index page.\n+func indexJS(defaultProvider string) string {\n+\tvar b bytes.Buffer\n+\n+\tb.WriteString(`function sInit() {\n+    \"use strict\";\n+    var searchForm = document.forms.search;","path":"server/template.go","position":76,"original_position":76,"commit_id":"c2deebe380b1e645b9fb36de442515b1634b5feb","original_commit_id":"c2deebe380b1e645b9fb36de442515b1634b5feb","user":{"login":"akb","id":456591,"avatar_url":"https://avatars.githubusercontent.com/u/456591?v=3","gravatar_id":"","url":"https://api.github.com/users/akb","html_url":"https://github.com/akb","followers_url":"https://api.github.com/users/akb/followers","following_url":"https://api.github.com/users/akb/following{/other_user}","gists_url":"https://api.github.com/users/akb/gists{/gist_id}","starred_url":"https://api.github.com/users/akb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akb/subscriptions","organizations_url":"https://api.github.com/users/akb/orgs","repos_url":"https://api.github.com/users/akb/repos","events_url":"https://api.github.com/users/akb/events{/privacy}","received_events_url":"https://api.github.com/users/akb/received_events","type":"User","site_admin":false},"body":"For more info: https://html.spec.whatwg.org/#named-access-on-the-window-object","created_at":"2016-04-25T16:19:36Z","updated_at":"2016-04-25T16:19:36Z","html_url":"https://github.com/zquestz/s/pull/109#discussion_r60942187","pull_request_url":"https://api.github.com/repos/zquestz/s/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/zquestz/s/pulls/comments/60942187"},"html":{"href":"https://github.com/zquestz/s/pull/109#discussion_r60942187"},"pull_request":{"href":"https://api.github.com/repos/zquestz/s/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/zquestz/s/pulls/109","id":67656940,"html_url":"https://github.com/zquestz/s/pull/109","diff_url":"https://github.com/zquestz/s/pull/109.diff","patch_url":"https://github.com/zquestz/s/pull/109.patch","issue_url":"https://api.github.com/repos/zquestz/s/issues/109","number":109,"state":"open","locked":false,"title":"Tag support for server mode.","user":{"login":"zquestz","id":83898,"avatar_url":"https://avatars.githubusercontent.com/u/83898?v=3","gravatar_id":"","url":"https://api.github.com/users/zquestz","html_url":"https://github.com/zquestz","followers_url":"https://api.github.com/users/zquestz/followers","following_url":"https://api.github.com/users/zquestz/following{/other_user}","gists_url":"https://api.github.com/users/zquestz/gists{/gist_id}","starred_url":"https://api.github.com/users/zquestz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zquestz/subscriptions","organizations_url":"https://api.github.com/users/zquestz/orgs","repos_url":"https://api.github.com/users/zquestz/repos","events_url":"https://api.github.com/users/zquestz/events{/privacy}","received_events_url":"https://api.github.com/users/zquestz/received_events","type":"User","site_admin":false},"body":"Adds meta search to the web interface. Opens a tab for each tagged provider. The provider only search still uses a redirect, whereas the tag based search leaves a tab for s.\r\n\r\nAlso noticed 8tracks search was a bit off when testing the \"music\" tag. \r\n\r\n@akb @mbhinder @KeizerDev ","created_at":"2016-04-25T01:25:45Z","updated_at":"2016-04-25T16:19:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40f7c13919f24e1f5b059e71f10e3764da246779","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zquestz/s/pulls/109/commits","review_comments_url":"https://api.github.com/repos/zquestz/s/pulls/109/comments","review_comment_url":"https://api.github.com/repos/zquestz/s/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zquestz/s/issues/109/comments","statuses_url":"https://api.github.com/repos/zquestz/s/statuses/c2deebe380b1e645b9fb36de442515b1634b5feb","head":{"label":"zquestz:server_tags","ref":"server_tags","sha":"c2deebe380b1e645b9fb36de442515b1634b5feb","user":{"login":"zquestz","id":83898,"avatar_url":"https://avatars.githubusercontent.com/u/83898?v=3","gravatar_id":"","url":"https://api.github.com/users/zquestz","html_url":"https://github.com/zquestz","followers_url":"https://api.github.com/users/zquestz/followers","following_url":"https://api.github.com/users/zquestz/following{/other_user}","gists_url":"https://api.github.com/users/zquestz/gists{/gist_id}","starred_url":"https://api.github.com/users/zquestz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zquestz/subscriptions","organizations_url":"https://api.github.com/users/zquestz/orgs","repos_url":"https://api.github.com/users/zquestz/repos","events_url":"https://api.github.com/users/zquestz/events{/privacy}","received_events_url":"https://api.github.com/users/zquestz/received_events","type":"User","site_admin":false},"repo":{"id":50270924,"name":"s","full_name":"zquestz/s","owner":{"login":"zquestz","id":83898,"avatar_url":"https://avatars.githubusercontent.com/u/83898?v=3","gravatar_id":"","url":"https://api.github.com/users/zquestz","html_url":"https://github.com/zquestz","followers_url":"https://api.github.com/users/zquestz/followers","following_url":"https://api.github.com/users/zquestz/following{/other_user}","gists_url":"https://api.github.com/users/zquestz/gists{/gist_id}","starred_url":"https://api.github.com/users/zquestz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zquestz/subscriptions","organizations_url":"https://api.github.com/users/zquestz/orgs","repos_url":"https://api.github.com/users/zquestz/repos","events_url":"https://api.github.com/users/zquestz/events{/privacy}","received_events_url":"https://api.github.com/users/zquestz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zquestz/s","description":"Open a web search in your terminal.","fork":false,"url":"https://api.github.com/repos/zquestz/s","forks_url":"https://api.github.com/repos/zquestz/s/forks","keys_url":"https://api.github.com/repos/zquestz/s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zquestz/s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zquestz/s/teams","hooks_url":"https://api.github.com/repos/zquestz/s/hooks","issue_events_url":"https://api.github.com/repos/zquestz/s/issues/events{/number}","events_url":"https://api.github.com/repos/zquestz/s/events","assignees_url":"https://api.github.com/repos/zquestz/s/assignees{/user}","branches_url":"https://api.github.com/repos/zquestz/s/branches{/branch}","tags_url":"https://api.github.com/repos/zquestz/s/tags","blobs_url":"https://api.github.com/repos/zquestz/s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zquestz/s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zquestz/s/git/refs{/sha}","trees_url":"https://api.github.com/repos/zquestz/s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zquestz/s/statuses/{sha}","languages_url":"https://api.github.com/repos/zquestz/s/languages","stargazers_url":"https://api.github.com/repos/zquestz/s/stargazers","contributors_url":"https://api.github.com/repos/zquestz/s/contributors","subscribers_url":"https://api.github.com/repos/zquestz/s/subscribers","subscription_url":"https://api.github.com/repos/zquestz/s/subscription","commits_url":"https://api.github.com/repos/zquestz/s/commits{/sha}","git_commits_url":"https://api.github.com/repos/zquestz/s/git/commits{/sha}","comments_url":"https://api.github.com/repos/zquestz/s/comments{/number}","issue_comment_url":"https://api.github.com/repos/zquestz/s/issues/comments{/number}","contents_url":"https://api.github.com/repos/zquestz/s/contents/{+path}","compare_url":"https://api.github.com/repos/zquestz/s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zquestz/s/merges","archive_url":"https://api.github.com/repos/zquestz/s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zquestz/s/downloads","issues_url":"https://api.github.com/repos/zquestz/s/issues{/number}","pulls_url":"https://api.github.com/repos/zquestz/s/pulls{/number}","milestones_url":"https://api.github.com/repos/zquestz/s/milestones{/number}","notifications_url":"https://api.github.com/repos/zquestz/s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zquestz/s/labels{/name}","releases_url":"https://api.github.com/repos/zquestz/s/releases{/id}","deployments_url":"https://api.github.com/repos/zquestz/s/deployments","created_at":"2016-01-24T03:44:07Z","updated_at":"2016-04-24T14:43:28Z","pushed_at":"2016-04-25T08:40:19Z","git_url":"git://github.com/zquestz/s.git","ssh_url":"git@github.com:zquestz/s.git","clone_url":"https://github.com/zquestz/s.git","svn_url":"https://github.com/zquestz/s","homepage":null,"size":2106,"stargazers_count":1381,"watchers_count":1381,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":1,"forks":70,"open_issues":1,"watchers":1381,"default_branch":"master"}},"base":{"label":"zquestz:master","ref":"master","sha":"e3ce23a9118fadeb57149993bb6a193167921e4c","user":{"login":"zquestz","id":83898,"avatar_url":"https://avatars.githubusercontent.com/u/83898?v=3","gravatar_id":"","url":"https://api.github.com/users/zquestz","html_url":"https://github.com/zquestz","followers_url":"https://api.github.com/users/zquestz/followers","following_url":"https://api.github.com/users/zquestz/following{/other_user}","gists_url":"https://api.github.com/users/zquestz/gists{/gist_id}","starred_url":"https://api.github.com/users/zquestz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zquestz/subscriptions","organizations_url":"https://api.github.com/users/zquestz/orgs","repos_url":"https://api.github.com/users/zquestz/repos","events_url":"https://api.github.com/users/zquestz/events{/privacy}","received_events_url":"https://api.github.com/users/zquestz/received_events","type":"User","site_admin":false},"repo":{"id":50270924,"name":"s","full_name":"zquestz/s","owner":{"login":"zquestz","id":83898,"avatar_url":"https://avatars.githubusercontent.com/u/83898?v=3","gravatar_id":"","url":"https://api.github.com/users/zquestz","html_url":"https://github.com/zquestz","followers_url":"https://api.github.com/users/zquestz/followers","following_url":"https://api.github.com/users/zquestz/following{/other_user}","gists_url":"https://api.github.com/users/zquestz/gists{/gist_id}","starred_url":"https://api.github.com/users/zquestz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zquestz/subscriptions","organizations_url":"https://api.github.com/users/zquestz/orgs","repos_url":"https://api.github.com/users/zquestz/repos","events_url":"https://api.github.com/users/zquestz/events{/privacy}","received_events_url":"https://api.github.com/users/zquestz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zquestz/s","description":"Open a web search in your terminal.","fork":false,"url":"https://api.github.com/repos/zquestz/s","forks_url":"https://api.github.com/repos/zquestz/s/forks","keys_url":"https://api.github.com/repos/zquestz/s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zquestz/s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zquestz/s/teams","hooks_url":"https://api.github.com/repos/zquestz/s/hooks","issue_events_url":"https://api.github.com/repos/zquestz/s/issues/events{/number}","events_url":"https://api.github.com/repos/zquestz/s/events","assignees_url":"https://api.github.com/repos/zquestz/s/assignees{/user}","branches_url":"https://api.github.com/repos/zquestz/s/branches{/branch}","tags_url":"https://api.github.com/repos/zquestz/s/tags","blobs_url":"https://api.github.com/repos/zquestz/s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zquestz/s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zquestz/s/git/refs{/sha}","trees_url":"https://api.github.com/repos/zquestz/s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zquestz/s/statuses/{sha}","languages_url":"https://api.github.com/repos/zquestz/s/languages","stargazers_url":"https://api.github.com/repos/zquestz/s/stargazers","contributors_url":"https://api.github.com/repos/zquestz/s/contributors","subscribers_url":"https://api.github.com/repos/zquestz/s/subscribers","subscription_url":"https://api.github.com/repos/zquestz/s/subscription","commits_url":"https://api.github.com/repos/zquestz/s/commits{/sha}","git_commits_url":"https://api.github.com/repos/zquestz/s/git/commits{/sha}","comments_url":"https://api.github.com/repos/zquestz/s/comments{/number}","issue_comment_url":"https://api.github.com/repos/zquestz/s/issues/comments{/number}","contents_url":"https://api.github.com/repos/zquestz/s/contents/{+path}","compare_url":"https://api.github.com/repos/zquestz/s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zquestz/s/merges","archive_url":"https://api.github.com/repos/zquestz/s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zquestz/s/downloads","issues_url":"https://api.github.com/repos/zquestz/s/issues{/number}","pulls_url":"https://api.github.com/repos/zquestz/s/pulls{/number}","milestones_url":"https://api.github.com/repos/zquestz/s/milestones{/number}","notifications_url":"https://api.github.com/repos/zquestz/s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zquestz/s/labels{/name}","releases_url":"https://api.github.com/repos/zquestz/s/releases{/id}","deployments_url":"https://api.github.com/repos/zquestz/s/deployments","created_at":"2016-01-24T03:44:07Z","updated_at":"2016-04-24T14:43:28Z","pushed_at":"2016-04-25T08:40:19Z","git_url":"git://github.com/zquestz/s.git","ssh_url":"git@github.com:zquestz/s.git","clone_url":"https://github.com/zquestz/s.git","svn_url":"https://github.com/zquestz/s","homepage":null,"size":2106,"stargazers_count":1381,"watchers_count":1381,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":1,"forks":70,"open_issues":1,"watchers":1381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zquestz/s/pulls/109"},"html":{"href":"https://github.com/zquestz/s/pull/109"},"issue":{"href":"https://api.github.com/repos/zquestz/s/issues/109"},"comments":{"href":"https://api.github.com/repos/zquestz/s/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/zquestz/s/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/zquestz/s/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zquestz/s/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/zquestz/s/statuses/c2deebe380b1e645b9fb36de442515b1634b5feb"}}}}