{"action":"created","comment":{"url":"https://api.github.com/repos/hapijs/visionary/pulls/comments/44231343","id":44231343,"diff_hunk":"@@ -31,22 +25,22 @@ describe('register()', function () {\n             }\n         };\n \n-        var server = new Hapi.Server();\n+        const server = new Hapi.Server();\n         server.connection();\n-        server.register([Vision, VisionaryPlugin], function (err) {\n+        server.register([Vision, VisionaryPlugin], (err) => {\n \n             expect(err).to.not.exist();\n \n-            var handler = function (request, reply) {\n+            const handler = (request, reply) => {","path":"test/index.js","position":56,"original_position":56,"commit_id":"448a14dd3b45dd3ec21130d909d9a0d8e8f024b8","original_commit_id":"448a14dd3b45dd3ec21130d909d9a0d8e8f024b8","user":{"login":"Marsup","id":796194,"avatar_url":"https://avatars.githubusercontent.com/u/796194?v=3","gravatar_id":"","url":"https://api.github.com/users/Marsup","html_url":"https://github.com/Marsup","followers_url":"https://api.github.com/users/Marsup/followers","following_url":"https://api.github.com/users/Marsup/following{/other_user}","gists_url":"https://api.github.com/users/Marsup/gists{/gist_id}","starred_url":"https://api.github.com/users/Marsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marsup/subscriptions","organizations_url":"https://api.github.com/users/Marsup/orgs","repos_url":"https://api.github.com/users/Marsup/repos","events_url":"https://api.github.com/users/Marsup/events{/privacy}","received_events_url":"https://api.github.com/users/Marsup/received_events","type":"User","site_admin":false},"body":"No, I mean `const handler = (request, reply) => reply.view('test', { message: 'hi' });`","created_at":"2015-11-08T21:54:11Z","updated_at":"2015-11-08T21:54:11Z","html_url":"https://github.com/hapijs/visionary/pull/8#discussion_r44231343","pull_request_url":"https://api.github.com/repos/hapijs/visionary/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/hapijs/visionary/pulls/comments/44231343"},"html":{"href":"https://github.com/hapijs/visionary/pull/8#discussion_r44231343"},"pull_request":{"href":"https://api.github.com/repos/hapijs/visionary/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/hapijs/visionary/pulls/8","id":50047237,"html_url":"https://github.com/hapijs/visionary/pull/8","diff_url":"https://github.com/hapijs/visionary/pull/8.diff","patch_url":"https://github.com/hapijs/visionary/pull/8.patch","issue_url":"https://api.github.com/repos/hapijs/visionary/issues/8","number":8,"state":"open","locked":false,"title":"Update deps","user":{"login":"jedireza","id":979929,"avatar_url":"https://avatars.githubusercontent.com/u/979929?v=3","gravatar_id":"","url":"https://api.github.com/users/jedireza","html_url":"https://github.com/jedireza","followers_url":"https://api.github.com/users/jedireza/followers","following_url":"https://api.github.com/users/jedireza/following{/other_user}","gists_url":"https://api.github.com/users/jedireza/gists{/gist_id}","starred_url":"https://api.github.com/users/jedireza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedireza/subscriptions","organizations_url":"https://api.github.com/users/jedireza/orgs","repos_url":"https://api.github.com/users/jedireza/repos","events_url":"https://api.github.com/users/jedireza/events{/privacy}","received_events_url":"https://api.github.com/users/jedireza/received_events","type":"User","site_admin":false},"body":"Review request: :pager: @hueniverse @arb @Marsup ","created_at":"2015-11-07T22:41:11Z","updated_at":"2015-11-08T21:54:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ef27cde63e93d19344fc095370d16e6b114ffe7","assignee":null,"milestone":{"url":"https://api.github.com/repos/hapijs/visionary/milestones/5","html_url":"https://github.com/hapijs/visionary/milestones/4.0.0","labels_url":"https://api.github.com/repos/hapijs/visionary/milestones/5/labels","id":1399704,"number":5,"title":"4.0.0","description":"","creator":{"login":"jedireza","id":979929,"avatar_url":"https://avatars.githubusercontent.com/u/979929?v=3","gravatar_id":"","url":"https://api.github.com/users/jedireza","html_url":"https://github.com/jedireza","followers_url":"https://api.github.com/users/jedireza/followers","following_url":"https://api.github.com/users/jedireza/following{/other_user}","gists_url":"https://api.github.com/users/jedireza/gists{/gist_id}","starred_url":"https://api.github.com/users/jedireza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedireza/subscriptions","organizations_url":"https://api.github.com/users/jedireza/orgs","repos_url":"https://api.github.com/users/jedireza/repos","events_url":"https://api.github.com/users/jedireza/events{/privacy}","received_events_url":"https://api.github.com/users/jedireza/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-11-07T22:41:04Z","updated_at":"2015-11-07T22:41:11Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/hapijs/visionary/pulls/8/commits","review_comments_url":"https://api.github.com/repos/hapijs/visionary/pulls/8/comments","review_comment_url":"https://api.github.com/repos/hapijs/visionary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hapijs/visionary/issues/8/comments","statuses_url":"https://api.github.com/repos/hapijs/visionary/statuses/448a14dd3b45dd3ec21130d909d9a0d8e8f024b8","head":{"label":"jedireza:update-deps","ref":"update-deps","sha":"448a14dd3b45dd3ec21130d909d9a0d8e8f024b8","user":{"login":"jedireza","id":979929,"avatar_url":"https://avatars.githubusercontent.com/u/979929?v=3","gravatar_id":"","url":"https://api.github.com/users/jedireza","html_url":"https://github.com/jedireza","followers_url":"https://api.github.com/users/jedireza/followers","following_url":"https://api.github.com/users/jedireza/following{/other_user}","gists_url":"https://api.github.com/users/jedireza/gists{/gist_id}","starred_url":"https://api.github.com/users/jedireza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedireza/subscriptions","organizations_url":"https://api.github.com/users/jedireza/orgs","repos_url":"https://api.github.com/users/jedireza/repos","events_url":"https://api.github.com/users/jedireza/events{/privacy}","received_events_url":"https://api.github.com/users/jedireza/received_events","type":"User","site_admin":false},"repo":{"id":40618199,"name":"visionary","full_name":"jedireza/visionary","owner":{"login":"jedireza","id":979929,"avatar_url":"https://avatars.githubusercontent.com/u/979929?v=3","gravatar_id":"","url":"https://api.github.com/users/jedireza","html_url":"https://github.com/jedireza","followers_url":"https://api.github.com/users/jedireza/followers","following_url":"https://api.github.com/users/jedireza/following{/other_user}","gists_url":"https://api.github.com/users/jedireza/gists{/gist_id}","starred_url":"https://api.github.com/users/jedireza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedireza/subscriptions","organizations_url":"https://api.github.com/users/jedireza/orgs","repos_url":"https://api.github.com/users/jedireza/repos","events_url":"https://api.github.com/users/jedireza/events{/privacy}","received_events_url":"https://api.github.com/users/jedireza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jedireza/visionary","description":"Views loader plugin for hapi.js","fork":true,"url":"https://api.github.com/repos/jedireza/visionary","forks_url":"https://api.github.com/repos/jedireza/visionary/forks","keys_url":"https://api.github.com/repos/jedireza/visionary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jedireza/visionary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jedireza/visionary/teams","hooks_url":"https://api.github.com/repos/jedireza/visionary/hooks","issue_events_url":"https://api.github.com/repos/jedireza/visionary/issues/events{/number}","events_url":"https://api.github.com/repos/jedireza/visionary/events","assignees_url":"https://api.github.com/repos/jedireza/visionary/assignees{/user}","branches_url":"https://api.github.com/repos/jedireza/visionary/branches{/branch}","tags_url":"https://api.github.com/repos/jedireza/visionary/tags","blobs_url":"https://api.github.com/repos/jedireza/visionary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jedireza/visionary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jedireza/visionary/git/refs{/sha}","trees_url":"https://api.github.com/repos/jedireza/visionary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jedireza/visionary/statuses/{sha}","languages_url":"https://api.github.com/repos/jedireza/visionary/languages","stargazers_url":"https://api.github.com/repos/jedireza/visionary/stargazers","contributors_url":"https://api.github.com/repos/jedireza/visionary/contributors","subscribers_url":"https://api.github.com/repos/jedireza/visionary/subscribers","subscription_url":"https://api.github.com/repos/jedireza/visionary/subscription","commits_url":"https://api.github.com/repos/jedireza/visionary/commits{/sha}","git_commits_url":"https://api.github.com/repos/jedireza/visionary/git/commits{/sha}","comments_url":"https://api.github.com/repos/jedireza/visionary/comments{/number}","issue_comment_url":"https://api.github.com/repos/jedireza/visionary/issues/comments{/number}","contents_url":"https://api.github.com/repos/jedireza/visionary/contents/{+path}","compare_url":"https://api.github.com/repos/jedireza/visionary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jedireza/visionary/merges","archive_url":"https://api.github.com/repos/jedireza/visionary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jedireza/visionary/downloads","issues_url":"https://api.github.com/repos/jedireza/visionary/issues{/number}","pulls_url":"https://api.github.com/repos/jedireza/visionary/pulls{/number}","milestones_url":"https://api.github.com/repos/jedireza/visionary/milestones{/number}","notifications_url":"https://api.github.com/repos/jedireza/visionary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jedireza/visionary/labels{/name}","releases_url":"https://api.github.com/repos/jedireza/visionary/releases{/id}","created_at":"2015-08-12T18:46:51Z","updated_at":"2015-08-12T18:46:51Z","pushed_at":"2015-11-07T22:39:58Z","git_url":"git://github.com/jedireza/visionary.git","ssh_url":"git@github.com:jedireza/visionary.git","clone_url":"https://github.com/jedireza/visionary.git","svn_url":"https://github.com/jedireza/visionary","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hapijs:master","ref":"master","sha":"ebd626b44fd12a9897398a227853385fc712cb79","user":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"repo":{"id":25012313,"name":"visionary","full_name":"hapijs/visionary","owner":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hapijs/visionary","description":"Views loader plugin for hapi.js","fork":false,"url":"https://api.github.com/repos/hapijs/visionary","forks_url":"https://api.github.com/repos/hapijs/visionary/forks","keys_url":"https://api.github.com/repos/hapijs/visionary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hapijs/visionary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hapijs/visionary/teams","hooks_url":"https://api.github.com/repos/hapijs/visionary/hooks","issue_events_url":"https://api.github.com/repos/hapijs/visionary/issues/events{/number}","events_url":"https://api.github.com/repos/hapijs/visionary/events","assignees_url":"https://api.github.com/repos/hapijs/visionary/assignees{/user}","branches_url":"https://api.github.com/repos/hapijs/visionary/branches{/branch}","tags_url":"https://api.github.com/repos/hapijs/visionary/tags","blobs_url":"https://api.github.com/repos/hapijs/visionary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hapijs/visionary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hapijs/visionary/git/refs{/sha}","trees_url":"https://api.github.com/repos/hapijs/visionary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hapijs/visionary/statuses/{sha}","languages_url":"https://api.github.com/repos/hapijs/visionary/languages","stargazers_url":"https://api.github.com/repos/hapijs/visionary/stargazers","contributors_url":"https://api.github.com/repos/hapijs/visionary/contributors","subscribers_url":"https://api.github.com/repos/hapijs/visionary/subscribers","subscription_url":"https://api.github.com/repos/hapijs/visionary/subscription","commits_url":"https://api.github.com/repos/hapijs/visionary/commits{/sha}","git_commits_url":"https://api.github.com/repos/hapijs/visionary/git/commits{/sha}","comments_url":"https://api.github.com/repos/hapijs/visionary/comments{/number}","issue_comment_url":"https://api.github.com/repos/hapijs/visionary/issues/comments{/number}","contents_url":"https://api.github.com/repos/hapijs/visionary/contents/{+path}","compare_url":"https://api.github.com/repos/hapijs/visionary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hapijs/visionary/merges","archive_url":"https://api.github.com/repos/hapijs/visionary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hapijs/visionary/downloads","issues_url":"https://api.github.com/repos/hapijs/visionary/issues{/number}","pulls_url":"https://api.github.com/repos/hapijs/visionary/pulls{/number}","milestones_url":"https://api.github.com/repos/hapijs/visionary/milestones{/number}","notifications_url":"https://api.github.com/repos/hapijs/visionary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hapijs/visionary/labels{/name}","releases_url":"https://api.github.com/repos/hapijs/visionary/releases{/id}","created_at":"2014-10-09T23:12:21Z","updated_at":"2015-11-06T06:18:57Z","pushed_at":"2015-11-07T22:41:11Z","git_url":"git://github.com/hapijs/visionary.git","ssh_url":"git@github.com:hapijs/visionary.git","clone_url":"https://github.com/hapijs/visionary.git","svn_url":"https://github.com/hapijs/visionary","homepage":null,"size":250,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hapijs/visionary/pulls/8"},"html":{"href":"https://github.com/hapijs/visionary/pull/8"},"issue":{"href":"https://api.github.com/repos/hapijs/visionary/issues/8"},"comments":{"href":"https://api.github.com/repos/hapijs/visionary/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/hapijs/visionary/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/hapijs/visionary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hapijs/visionary/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/hapijs/visionary/statuses/448a14dd3b45dd3ec21130d909d9a0d8e8f024b8"}}}}