{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/4831","labels_url":"https://api.github.com/repos/nodejs/node/issues/4831/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/4831/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/4831/events","html_url":"https://github.com/nodejs/node/pull/4831","id":128383123,"number":4831,"title":"fs: refactor self=this to arrow","user":{"login":"benjamingr","id":1315533,"avatar_url":"https://avatars.githubusercontent.com/u/1315533?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamingr","html_url":"https://github.com/benjamingr","followers_url":"https://api.github.com/users/benjamingr/followers","following_url":"https://api.github.com/users/benjamingr/following{/other_user}","gists_url":"https://api.github.com/users/benjamingr/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingr/subscriptions","organizations_url":"https://api.github.com/users/benjamingr/orgs","repos_url":"https://api.github.com/users/benjamingr/repos","events_url":"https://api.github.com/users/benjamingr/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/fs","name":"fs","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-24T09:08:31Z","updated_at":"2016-01-25T20:48:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/4831","html_url":"https://github.com/nodejs/node/pull/4831","diff_url":"https://github.com/nodejs/node/pull/4831.diff","patch_url":"https://github.com/nodejs/node/pull/4831.patch"},"body":"This PR refactors `self = this` pattern usages to arrow functions in several places in the code.\r\n\r\nIn some places, arrow functions were already used and the `self = this` was simply redundant. "},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/174658105","html_url":"https://github.com/nodejs/node/pull/4831#issuecomment-174658105","issue_url":"https://api.github.com/repos/nodejs/node/issues/4831","id":174658105,"user":{"login":"benjamingr","id":1315533,"avatar_url":"https://avatars.githubusercontent.com/u/1315533?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamingr","html_url":"https://github.com/benjamingr","followers_url":"https://api.github.com/users/benjamingr/followers","following_url":"https://api.github.com/users/benjamingr/following{/other_user}","gists_url":"https://api.github.com/users/benjamingr/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingr/subscriptions","organizations_url":"https://api.github.com/users/benjamingr/orgs","repos_url":"https://api.github.com/users/benjamingr/repos","events_url":"https://api.github.com/users/benjamingr/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingr/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T20:48:58Z","updated_at":"2016-01-25T20:48:58Z","body":"@silverwind I'm for producing the least amount of work and keeping the code consistent. I don't mind working on a full blown PR that refactors all `lib` (I tend to avoid big PRs and prefer small ones because they're easier to land generally). "}}