{"action":"created","comment":{"url":"https://api.github.com/repos/algolia/autocomplete.js/pulls/comments/64669576","id":64669576,"diff_hunk":"@@ -75,6 +75,34 @@ describe('Dropdown', function() {\n     });\n   });\n \n+  describe('when instantiated with a custom empty template', function() {\n+    beforeEach(function() {\n+      this.view.destroy();\n+      this.view = new Dropdown({\n+        menu: this.$menu,\n+        datasets: [{}],\n+        templates: {\n+          empty: '<h3 class=\"empty\">this is empty</3>'","path":"test/unit/dropdown_spec.js","position":11,"original_position":11,"commit_id":"a7a6bbbbba8a14cc40008a631fb83472a18a1373","original_commit_id":"a7a6bbbbba8a14cc40008a631fb83472a18a1373","user":{"login":"pixelastic","id":283419,"avatar_url":"https://avatars.githubusercontent.com/u/283419?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelastic","html_url":"https://github.com/pixelastic","followers_url":"https://api.github.com/users/pixelastic/followers","following_url":"https://api.github.com/users/pixelastic/following{/other_user}","gists_url":"https://api.github.com/users/pixelastic/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelastic/subscriptions","organizations_url":"https://api.github.com/users/pixelastic/orgs","repos_url":"https://api.github.com/users/pixelastic/repos","events_url":"https://api.github.com/users/pixelastic/events{/privacy}","received_events_url":"https://api.github.com/users/pixelastic/received_events","type":"User","site_admin":false},"body":"Won't you end up with a `<div class=\"empty\"><h3 class=\"empty\">this is empty</h3></div>` here (two `empty` classes)?","created_at":"2016-05-25T23:18:44Z","updated_at":"2016-05-25T23:18:44Z","html_url":"https://github.com/algolia/autocomplete.js/pull/80#discussion_r64669576","pull_request_url":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/algolia/autocomplete.js/pulls/comments/64669576"},"html":{"href":"https://github.com/algolia/autocomplete.js/pull/80#discussion_r64669576"},"pull_request":{"href":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80","id":71473955,"html_url":"https://github.com/algolia/autocomplete.js/pull/80","diff_url":"https://github.com/algolia/autocomplete.js/pull/80.diff","patch_url":"https://github.com/algolia/autocomplete.js/pull/80.patch","issue_url":"https://api.github.com/repos/algolia/autocomplete.js/issues/80","number":80,"state":"open","locked":false,"title":"Render an `empty` template if no results","user":{"login":"redox","id":29529,"avatar_url":"https://avatars.githubusercontent.com/u/29529?v=3","gravatar_id":"","url":"https://api.github.com/users/redox","html_url":"https://github.com/redox","followers_url":"https://api.github.com/users/redox/followers","following_url":"https://api.github.com/users/redox/following{/other_user}","gists_url":"https://api.github.com/users/redox/gists{/gist_id}","starred_url":"https://api.github.com/users/redox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redox/subscriptions","organizations_url":"https://api.github.com/users/redox/orgs","repos_url":"https://api.github.com/users/redox/repos","events_url":"https://api.github.com/users/redox/events{/privacy}","received_events_url":"https://api.github.com/users/redox/received_events","type":"User","site_admin":false},"body":"Fix #79","created_at":"2016-05-25T22:33:20Z","updated_at":"2016-05-25T23:18:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c9042d49e730842b056ad63a4c1b46849e12a1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80/commits","review_comments_url":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80/comments","review_comment_url":"https://api.github.com/repos/algolia/autocomplete.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/autocomplete.js/issues/80/comments","statuses_url":"https://api.github.com/repos/algolia/autocomplete.js/statuses/a7a6bbbbba8a14cc40008a631fb83472a18a1373","head":{"label":"algolia:fix/79","ref":"fix/79","sha":"a7a6bbbbba8a14cc40008a631fb83472a18a1373","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":38976571,"name":"autocomplete.js","full_name":"algolia/autocomplete.js","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/autocomplete.js","description":"Fast and full-featured autocomplete library","fork":false,"url":"https://api.github.com/repos/algolia/autocomplete.js","forks_url":"https://api.github.com/repos/algolia/autocomplete.js/forks","keys_url":"https://api.github.com/repos/algolia/autocomplete.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/autocomplete.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/autocomplete.js/teams","hooks_url":"https://api.github.com/repos/algolia/autocomplete.js/hooks","issue_events_url":"https://api.github.com/repos/algolia/autocomplete.js/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/autocomplete.js/events","assignees_url":"https://api.github.com/repos/algolia/autocomplete.js/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/autocomplete.js/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/autocomplete.js/tags","blobs_url":"https://api.github.com/repos/algolia/autocomplete.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/autocomplete.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/autocomplete.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/autocomplete.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/autocomplete.js/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/autocomplete.js/languages","stargazers_url":"https://api.github.com/repos/algolia/autocomplete.js/stargazers","contributors_url":"https://api.github.com/repos/algolia/autocomplete.js/contributors","subscribers_url":"https://api.github.com/repos/algolia/autocomplete.js/subscribers","subscription_url":"https://api.github.com/repos/algolia/autocomplete.js/subscription","commits_url":"https://api.github.com/repos/algolia/autocomplete.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/autocomplete.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/autocomplete.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/autocomplete.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/autocomplete.js/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/autocomplete.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/autocomplete.js/merges","archive_url":"https://api.github.com/repos/algolia/autocomplete.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/autocomplete.js/downloads","issues_url":"https://api.github.com/repos/algolia/autocomplete.js/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/autocomplete.js/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/autocomplete.js/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/autocomplete.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/autocomplete.js/labels{/name}","releases_url":"https://api.github.com/repos/algolia/autocomplete.js/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/autocomplete.js/deployments","created_at":"2015-07-12T20:20:01Z","updated_at":"2016-05-25T16:03:47Z","pushed_at":"2016-05-25T22:33:20Z","git_url":"git://github.com/algolia/autocomplete.js.git","ssh_url":"git@github.com:algolia/autocomplete.js.git","clone_url":"https://github.com/algolia/autocomplete.js.git","svn_url":"https://github.com/algolia/autocomplete.js","homepage":"https://www.algolia.com","size":3063,"stargazers_count":95,"watchers_count":95,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":18,"forks":13,"open_issues":18,"watchers":95,"default_branch":"master"}},"base":{"label":"algolia:develop","ref":"develop","sha":"ebbee48d19b74cead8bd855c8b612e0472abecc5","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":38976571,"name":"autocomplete.js","full_name":"algolia/autocomplete.js","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/autocomplete.js","description":"Fast and full-featured autocomplete library","fork":false,"url":"https://api.github.com/repos/algolia/autocomplete.js","forks_url":"https://api.github.com/repos/algolia/autocomplete.js/forks","keys_url":"https://api.github.com/repos/algolia/autocomplete.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/autocomplete.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/autocomplete.js/teams","hooks_url":"https://api.github.com/repos/algolia/autocomplete.js/hooks","issue_events_url":"https://api.github.com/repos/algolia/autocomplete.js/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/autocomplete.js/events","assignees_url":"https://api.github.com/repos/algolia/autocomplete.js/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/autocomplete.js/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/autocomplete.js/tags","blobs_url":"https://api.github.com/repos/algolia/autocomplete.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/autocomplete.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/autocomplete.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/autocomplete.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/autocomplete.js/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/autocomplete.js/languages","stargazers_url":"https://api.github.com/repos/algolia/autocomplete.js/stargazers","contributors_url":"https://api.github.com/repos/algolia/autocomplete.js/contributors","subscribers_url":"https://api.github.com/repos/algolia/autocomplete.js/subscribers","subscription_url":"https://api.github.com/repos/algolia/autocomplete.js/subscription","commits_url":"https://api.github.com/repos/algolia/autocomplete.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/autocomplete.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/autocomplete.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/autocomplete.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/autocomplete.js/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/autocomplete.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/autocomplete.js/merges","archive_url":"https://api.github.com/repos/algolia/autocomplete.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/autocomplete.js/downloads","issues_url":"https://api.github.com/repos/algolia/autocomplete.js/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/autocomplete.js/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/autocomplete.js/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/autocomplete.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/autocomplete.js/labels{/name}","releases_url":"https://api.github.com/repos/algolia/autocomplete.js/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/autocomplete.js/deployments","created_at":"2015-07-12T20:20:01Z","updated_at":"2016-05-25T16:03:47Z","pushed_at":"2016-05-25T22:33:20Z","git_url":"git://github.com/algolia/autocomplete.js.git","ssh_url":"git@github.com:algolia/autocomplete.js.git","clone_url":"https://github.com/algolia/autocomplete.js.git","svn_url":"https://github.com/algolia/autocomplete.js","homepage":"https://www.algolia.com","size":3063,"stargazers_count":95,"watchers_count":95,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":18,"forks":13,"open_issues":18,"watchers":95,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80"},"html":{"href":"https://github.com/algolia/autocomplete.js/pull/80"},"issue":{"href":"https://api.github.com/repos/algolia/autocomplete.js/issues/80"},"comments":{"href":"https://api.github.com/repos/algolia/autocomplete.js/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/autocomplete.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/autocomplete.js/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/autocomplete.js/statuses/a7a6bbbbba8a14cc40008a631fb83472a18a1373"}}}}
{"actor":{"display_login":"pixelastic"}}