{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/corybill/maddox/pulls/3","id":67957344,"html_url":"https://github.com/corybill/maddox/pull/3","diff_url":"https://github.com/corybill/maddox/pull/3.diff","patch_url":"https://github.com/corybill/maddox/pull/3.patch","issue_url":"https://api.github.com/repos/corybill/maddox/issues/3","number":3,"state":"closed","locked":false,"title":"use arrow functions instead of function expressions","user":{"login":"a0viedo","id":2440935,"avatar_url":"https://avatars.githubusercontent.com/u/2440935?v=3","gravatar_id":"","url":"https://api.github.com/users/a0viedo","html_url":"https://github.com/a0viedo","followers_url":"https://api.github.com/users/a0viedo/followers","following_url":"https://api.github.com/users/a0viedo/following{/other_user}","gists_url":"https://api.github.com/users/a0viedo/gists{/gist_id}","starred_url":"https://api.github.com/users/a0viedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a0viedo/subscriptions","organizations_url":"https://api.github.com/users/a0viedo/orgs","repos_url":"https://api.github.com/users/a0viedo/repos","events_url":"https://api.github.com/users/a0viedo/events{/privacy}","received_events_url":"https://api.github.com/users/a0viedo/received_events","type":"User","site_admin":false},"body":"Change usage of function expressions with `bind(this)` calls to arrow functions which have lexical _this_ binding. Inside arrow functions the `arguments` object is not defined and the usage of rest parameters (which are only available on node v6) is enforced.\r\n\r\nThe update to node v6 comes for free since tests are not breaking and is always recommended sticking with an LTS version.","created_at":"2016-04-26T20:59:56Z","updated_at":"2016-04-26T21:11:39Z","closed_at":"2016-04-26T21:11:38Z","merged_at":null,"merge_commit_sha":"98e1262e378666c9f86834945c5b760ac370c59b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/corybill/maddox/pulls/3/commits","review_comments_url":"https://api.github.com/repos/corybill/maddox/pulls/3/comments","review_comment_url":"https://api.github.com/repos/corybill/maddox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/corybill/maddox/issues/3/comments","statuses_url":"https://api.github.com/repos/corybill/maddox/statuses/eee552cd8a73b85615cfde005fff8bdde937ba54","head":{"label":"a0viedo:use-arrow-fns","ref":"use-arrow-fns","sha":"eee552cd8a73b85615cfde005fff8bdde937ba54","user":{"login":"a0viedo","id":2440935,"avatar_url":"https://avatars.githubusercontent.com/u/2440935?v=3","gravatar_id":"","url":"https://api.github.com/users/a0viedo","html_url":"https://github.com/a0viedo","followers_url":"https://api.github.com/users/a0viedo/followers","following_url":"https://api.github.com/users/a0viedo/following{/other_user}","gists_url":"https://api.github.com/users/a0viedo/gists{/gist_id}","starred_url":"https://api.github.com/users/a0viedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a0viedo/subscriptions","organizations_url":"https://api.github.com/users/a0viedo/orgs","repos_url":"https://api.github.com/users/a0viedo/repos","events_url":"https://api.github.com/users/a0viedo/events{/privacy}","received_events_url":"https://api.github.com/users/a0viedo/received_events","type":"User","site_admin":false},"repo":{"id":57049033,"name":"maddox","full_name":"a0viedo/maddox","owner":{"login":"a0viedo","id":2440935,"avatar_url":"https://avatars.githubusercontent.com/u/2440935?v=3","gravatar_id":"","url":"https://api.github.com/users/a0viedo","html_url":"https://github.com/a0viedo","followers_url":"https://api.github.com/users/a0viedo/followers","following_url":"https://api.github.com/users/a0viedo/following{/other_user}","gists_url":"https://api.github.com/users/a0viedo/gists{/gist_id}","starred_url":"https://api.github.com/users/a0viedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a0viedo/subscriptions","organizations_url":"https://api.github.com/users/a0viedo/orgs","repos_url":"https://api.github.com/users/a0viedo/repos","events_url":"https://api.github.com/users/a0viedo/events{/privacy}","received_events_url":"https://api.github.com/users/a0viedo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a0viedo/maddox","description":"BDD style scenario testing framework for integration and unit testing. ","fork":true,"url":"https://api.github.com/repos/a0viedo/maddox","forks_url":"https://api.github.com/repos/a0viedo/maddox/forks","keys_url":"https://api.github.com/repos/a0viedo/maddox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a0viedo/maddox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a0viedo/maddox/teams","hooks_url":"https://api.github.com/repos/a0viedo/maddox/hooks","issue_events_url":"https://api.github.com/repos/a0viedo/maddox/issues/events{/number}","events_url":"https://api.github.com/repos/a0viedo/maddox/events","assignees_url":"https://api.github.com/repos/a0viedo/maddox/assignees{/user}","branches_url":"https://api.github.com/repos/a0viedo/maddox/branches{/branch}","tags_url":"https://api.github.com/repos/a0viedo/maddox/tags","blobs_url":"https://api.github.com/repos/a0viedo/maddox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a0viedo/maddox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a0viedo/maddox/git/refs{/sha}","trees_url":"https://api.github.com/repos/a0viedo/maddox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a0viedo/maddox/statuses/{sha}","languages_url":"https://api.github.com/repos/a0viedo/maddox/languages","stargazers_url":"https://api.github.com/repos/a0viedo/maddox/stargazers","contributors_url":"https://api.github.com/repos/a0viedo/maddox/contributors","subscribers_url":"https://api.github.com/repos/a0viedo/maddox/subscribers","subscription_url":"https://api.github.com/repos/a0viedo/maddox/subscription","commits_url":"https://api.github.com/repos/a0viedo/maddox/commits{/sha}","git_commits_url":"https://api.github.com/repos/a0viedo/maddox/git/commits{/sha}","comments_url":"https://api.github.com/repos/a0viedo/maddox/comments{/number}","issue_comment_url":"https://api.github.com/repos/a0viedo/maddox/issues/comments{/number}","contents_url":"https://api.github.com/repos/a0viedo/maddox/contents/{+path}","compare_url":"https://api.github.com/repos/a0viedo/maddox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a0viedo/maddox/merges","archive_url":"https://api.github.com/repos/a0viedo/maddox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a0viedo/maddox/downloads","issues_url":"https://api.github.com/repos/a0viedo/maddox/issues{/number}","pulls_url":"https://api.github.com/repos/a0viedo/maddox/pulls{/number}","milestones_url":"https://api.github.com/repos/a0viedo/maddox/milestones{/number}","notifications_url":"https://api.github.com/repos/a0viedo/maddox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a0viedo/maddox/labels{/name}","releases_url":"https://api.github.com/repos/a0viedo/maddox/releases{/id}","deployments_url":"https://api.github.com/repos/a0viedo/maddox/deployments","created_at":"2016-04-25T14:35:04Z","updated_at":"2016-04-25T14:35:05Z","pushed_at":"2016-04-26T21:06:07Z","git_url":"git://github.com/a0viedo/maddox.git","ssh_url":"git@github.com:a0viedo/maddox.git","clone_url":"https://github.com/a0viedo/maddox.git","svn_url":"https://github.com/a0viedo/maddox","homepage":null,"size":114,"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":"corybill:master","ref":"master","sha":"5a267b21189569750a1897d9bf4e02e8c082ba7b","user":{"login":"corybill","id":3101909,"avatar_url":"https://avatars.githubusercontent.com/u/3101909?v=3","gravatar_id":"","url":"https://api.github.com/users/corybill","html_url":"https://github.com/corybill","followers_url":"https://api.github.com/users/corybill/followers","following_url":"https://api.github.com/users/corybill/following{/other_user}","gists_url":"https://api.github.com/users/corybill/gists{/gist_id}","starred_url":"https://api.github.com/users/corybill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corybill/subscriptions","organizations_url":"https://api.github.com/users/corybill/orgs","repos_url":"https://api.github.com/users/corybill/repos","events_url":"https://api.github.com/users/corybill/events{/privacy}","received_events_url":"https://api.github.com/users/corybill/received_events","type":"User","site_admin":false},"repo":{"id":52804007,"name":"maddox","full_name":"corybill/maddox","owner":{"login":"corybill","id":3101909,"avatar_url":"https://avatars.githubusercontent.com/u/3101909?v=3","gravatar_id":"","url":"https://api.github.com/users/corybill","html_url":"https://github.com/corybill","followers_url":"https://api.github.com/users/corybill/followers","following_url":"https://api.github.com/users/corybill/following{/other_user}","gists_url":"https://api.github.com/users/corybill/gists{/gist_id}","starred_url":"https://api.github.com/users/corybill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corybill/subscriptions","organizations_url":"https://api.github.com/users/corybill/orgs","repos_url":"https://api.github.com/users/corybill/repos","events_url":"https://api.github.com/users/corybill/events{/privacy}","received_events_url":"https://api.github.com/users/corybill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/corybill/maddox","description":"BDD style scenario testing framework for integration and unit testing. ","fork":false,"url":"https://api.github.com/repos/corybill/maddox","forks_url":"https://api.github.com/repos/corybill/maddox/forks","keys_url":"https://api.github.com/repos/corybill/maddox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/corybill/maddox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/corybill/maddox/teams","hooks_url":"https://api.github.com/repos/corybill/maddox/hooks","issue_events_url":"https://api.github.com/repos/corybill/maddox/issues/events{/number}","events_url":"https://api.github.com/repos/corybill/maddox/events","assignees_url":"https://api.github.com/repos/corybill/maddox/assignees{/user}","branches_url":"https://api.github.com/repos/corybill/maddox/branches{/branch}","tags_url":"https://api.github.com/repos/corybill/maddox/tags","blobs_url":"https://api.github.com/repos/corybill/maddox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/corybill/maddox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/corybill/maddox/git/refs{/sha}","trees_url":"https://api.github.com/repos/corybill/maddox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/corybill/maddox/statuses/{sha}","languages_url":"https://api.github.com/repos/corybill/maddox/languages","stargazers_url":"https://api.github.com/repos/corybill/maddox/stargazers","contributors_url":"https://api.github.com/repos/corybill/maddox/contributors","subscribers_url":"https://api.github.com/repos/corybill/maddox/subscribers","subscription_url":"https://api.github.com/repos/corybill/maddox/subscription","commits_url":"https://api.github.com/repos/corybill/maddox/commits{/sha}","git_commits_url":"https://api.github.com/repos/corybill/maddox/git/commits{/sha}","comments_url":"https://api.github.com/repos/corybill/maddox/comments{/number}","issue_comment_url":"https://api.github.com/repos/corybill/maddox/issues/comments{/number}","contents_url":"https://api.github.com/repos/corybill/maddox/contents/{+path}","compare_url":"https://api.github.com/repos/corybill/maddox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/corybill/maddox/merges","archive_url":"https://api.github.com/repos/corybill/maddox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/corybill/maddox/downloads","issues_url":"https://api.github.com/repos/corybill/maddox/issues{/number}","pulls_url":"https://api.github.com/repos/corybill/maddox/pulls{/number}","milestones_url":"https://api.github.com/repos/corybill/maddox/milestones{/number}","notifications_url":"https://api.github.com/repos/corybill/maddox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/corybill/maddox/labels{/name}","releases_url":"https://api.github.com/repos/corybill/maddox/releases{/id}","deployments_url":"https://api.github.com/repos/corybill/maddox/deployments","created_at":"2016-02-29T16:02:15Z","updated_at":"2016-03-06T20:41:35Z","pushed_at":"2016-04-26T21:06:07Z","git_url":"git://github.com/corybill/maddox.git","ssh_url":"git@github.com:corybill/maddox.git","clone_url":"https://github.com/corybill/maddox.git","svn_url":"https://github.com/corybill/maddox","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/corybill/maddox/pulls/3"},"html":{"href":"https://github.com/corybill/maddox/pull/3"},"issue":{"href":"https://api.github.com/repos/corybill/maddox/issues/3"},"comments":{"href":"https://api.github.com/repos/corybill/maddox/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/corybill/maddox/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/corybill/maddox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/corybill/maddox/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/corybill/maddox/statuses/eee552cd8a73b85615cfde005fff8bdde937ba54"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":44,"deletions":44,"changed_files":6}}