{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/R1ZZU/events2/pulls/4","id":64916055,"html_url":"https://github.com/R1ZZU/events2/pull/4","diff_url":"https://github.com/R1ZZU/events2/pull/4.diff","patch_url":"https://github.com/R1ZZU/events2/pull/4.patch","issue_url":"https://api.github.com/repos/R1ZZU/events2/issues/4","number":4,"state":"open","locked":false,"title":"use a WeakMap to store private instance data (fixes #3)","user":{"login":"jokeyrhyme","id":479816,"avatar_url":"https://avatars.githubusercontent.com/u/479816?v=3","gravatar_id":"","url":"https://api.github.com/users/jokeyrhyme","html_url":"https://github.com/jokeyrhyme","followers_url":"https://api.github.com/users/jokeyrhyme/followers","following_url":"https://api.github.com/users/jokeyrhyme/following{/other_user}","gists_url":"https://api.github.com/users/jokeyrhyme/gists{/gist_id}","starred_url":"https://api.github.com/users/jokeyrhyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokeyrhyme/subscriptions","organizations_url":"https://api.github.com/users/jokeyrhyme/orgs","repos_url":"https://api.github.com/users/jokeyrhyme/repos","events_url":"https://api.github.com/users/jokeyrhyme/events{/privacy}","received_events_url":"https://api.github.com/users/jokeyrhyme/received_events","type":"User","site_admin":false},"body":"Here's an example of what I was suggesting.\r\n\r\nI think the word \"private\" here and there helps with intent, although I can see from another perspective that the code isn't necessarily easier to read. /shrug","created_at":"2016-04-01T09:14:32Z","updated_at":"2016-04-01T09:14:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/R1ZZU/events2/pulls/4/commits","review_comments_url":"https://api.github.com/repos/R1ZZU/events2/pulls/4/comments","review_comment_url":"https://api.github.com/repos/R1ZZU/events2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/R1ZZU/events2/issues/4/comments","statuses_url":"https://api.github.com/repos/R1ZZU/events2/statuses/01b18c75b57a4b8c83ddba3ee4774e7458660475","head":{"label":"jokeyrhyme:weakmap","ref":"weakmap","sha":"01b18c75b57a4b8c83ddba3ee4774e7458660475","user":{"login":"jokeyrhyme","id":479816,"avatar_url":"https://avatars.githubusercontent.com/u/479816?v=3","gravatar_id":"","url":"https://api.github.com/users/jokeyrhyme","html_url":"https://github.com/jokeyrhyme","followers_url":"https://api.github.com/users/jokeyrhyme/followers","following_url":"https://api.github.com/users/jokeyrhyme/following{/other_user}","gists_url":"https://api.github.com/users/jokeyrhyme/gists{/gist_id}","starred_url":"https://api.github.com/users/jokeyrhyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokeyrhyme/subscriptions","organizations_url":"https://api.github.com/users/jokeyrhyme/orgs","repos_url":"https://api.github.com/users/jokeyrhyme/repos","events_url":"https://api.github.com/users/jokeyrhyme/events{/privacy}","received_events_url":"https://api.github.com/users/jokeyrhyme/received_events","type":"User","site_admin":false},"repo":{"id":55217803,"name":"events2","full_name":"jokeyrhyme/events2","owner":{"login":"jokeyrhyme","id":479816,"avatar_url":"https://avatars.githubusercontent.com/u/479816?v=3","gravatar_id":"","url":"https://api.github.com/users/jokeyrhyme","html_url":"https://github.com/jokeyrhyme","followers_url":"https://api.github.com/users/jokeyrhyme/followers","following_url":"https://api.github.com/users/jokeyrhyme/following{/other_user}","gists_url":"https://api.github.com/users/jokeyrhyme/gists{/gist_id}","starred_url":"https://api.github.com/users/jokeyrhyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokeyrhyme/subscriptions","organizations_url":"https://api.github.com/users/jokeyrhyme/orgs","repos_url":"https://api.github.com/users/jokeyrhyme/repos","events_url":"https://api.github.com/users/jokeyrhyme/events{/privacy}","received_events_url":"https://api.github.com/users/jokeyrhyme/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jokeyrhyme/events2","description":"ES2015 implementation of nodejs EventEmitter","fork":true,"url":"https://api.github.com/repos/jokeyrhyme/events2","forks_url":"https://api.github.com/repos/jokeyrhyme/events2/forks","keys_url":"https://api.github.com/repos/jokeyrhyme/events2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jokeyrhyme/events2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jokeyrhyme/events2/teams","hooks_url":"https://api.github.com/repos/jokeyrhyme/events2/hooks","issue_events_url":"https://api.github.com/repos/jokeyrhyme/events2/issues/events{/number}","events_url":"https://api.github.com/repos/jokeyrhyme/events2/events","assignees_url":"https://api.github.com/repos/jokeyrhyme/events2/assignees{/user}","branches_url":"https://api.github.com/repos/jokeyrhyme/events2/branches{/branch}","tags_url":"https://api.github.com/repos/jokeyrhyme/events2/tags","blobs_url":"https://api.github.com/repos/jokeyrhyme/events2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jokeyrhyme/events2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jokeyrhyme/events2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jokeyrhyme/events2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jokeyrhyme/events2/statuses/{sha}","languages_url":"https://api.github.com/repos/jokeyrhyme/events2/languages","stargazers_url":"https://api.github.com/repos/jokeyrhyme/events2/stargazers","contributors_url":"https://api.github.com/repos/jokeyrhyme/events2/contributors","subscribers_url":"https://api.github.com/repos/jokeyrhyme/events2/subscribers","subscription_url":"https://api.github.com/repos/jokeyrhyme/events2/subscription","commits_url":"https://api.github.com/repos/jokeyrhyme/events2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jokeyrhyme/events2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jokeyrhyme/events2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jokeyrhyme/events2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jokeyrhyme/events2/contents/{+path}","compare_url":"https://api.github.com/repos/jokeyrhyme/events2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jokeyrhyme/events2/merges","archive_url":"https://api.github.com/repos/jokeyrhyme/events2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jokeyrhyme/events2/downloads","issues_url":"https://api.github.com/repos/jokeyrhyme/events2/issues{/number}","pulls_url":"https://api.github.com/repos/jokeyrhyme/events2/pulls{/number}","milestones_url":"https://api.github.com/repos/jokeyrhyme/events2/milestones{/number}","notifications_url":"https://api.github.com/repos/jokeyrhyme/events2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jokeyrhyme/events2/labels{/name}","releases_url":"https://api.github.com/repos/jokeyrhyme/events2/releases{/id}","deployments_url":"https://api.github.com/repos/jokeyrhyme/events2/deployments","created_at":"2016-04-01T08:54:33Z","updated_at":"2016-04-01T08:54:35Z","pushed_at":"2016-04-01T09:12:29Z","git_url":"git://github.com/jokeyrhyme/events2.git","ssh_url":"git@github.com:jokeyrhyme/events2.git","clone_url":"https://github.com/jokeyrhyme/events2.git","svn_url":"https://github.com/jokeyrhyme/events2","homepage":null,"size":17,"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":"R1ZZU:master","ref":"master","sha":"f40e72ce6cf00effa01e32f0070a1b806a974f04","user":{"login":"R1ZZU","id":6261302,"avatar_url":"https://avatars.githubusercontent.com/u/6261302?v=3","gravatar_id":"","url":"https://api.github.com/users/R1ZZU","html_url":"https://github.com/R1ZZU","followers_url":"https://api.github.com/users/R1ZZU/followers","following_url":"https://api.github.com/users/R1ZZU/following{/other_user}","gists_url":"https://api.github.com/users/R1ZZU/gists{/gist_id}","starred_url":"https://api.github.com/users/R1ZZU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R1ZZU/subscriptions","organizations_url":"https://api.github.com/users/R1ZZU/orgs","repos_url":"https://api.github.com/users/R1ZZU/repos","events_url":"https://api.github.com/users/R1ZZU/events{/privacy}","received_events_url":"https://api.github.com/users/R1ZZU/received_events","type":"User","site_admin":false},"repo":{"id":54679980,"name":"events2","full_name":"R1ZZU/events2","owner":{"login":"R1ZZU","id":6261302,"avatar_url":"https://avatars.githubusercontent.com/u/6261302?v=3","gravatar_id":"","url":"https://api.github.com/users/R1ZZU","html_url":"https://github.com/R1ZZU","followers_url":"https://api.github.com/users/R1ZZU/followers","following_url":"https://api.github.com/users/R1ZZU/following{/other_user}","gists_url":"https://api.github.com/users/R1ZZU/gists{/gist_id}","starred_url":"https://api.github.com/users/R1ZZU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R1ZZU/subscriptions","organizations_url":"https://api.github.com/users/R1ZZU/orgs","repos_url":"https://api.github.com/users/R1ZZU/repos","events_url":"https://api.github.com/users/R1ZZU/events{/privacy}","received_events_url":"https://api.github.com/users/R1ZZU/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/R1ZZU/events2","description":"ES2015 implementation of nodejs EventEmitter","fork":false,"url":"https://api.github.com/repos/R1ZZU/events2","forks_url":"https://api.github.com/repos/R1ZZU/events2/forks","keys_url":"https://api.github.com/repos/R1ZZU/events2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/R1ZZU/events2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/R1ZZU/events2/teams","hooks_url":"https://api.github.com/repos/R1ZZU/events2/hooks","issue_events_url":"https://api.github.com/repos/R1ZZU/events2/issues/events{/number}","events_url":"https://api.github.com/repos/R1ZZU/events2/events","assignees_url":"https://api.github.com/repos/R1ZZU/events2/assignees{/user}","branches_url":"https://api.github.com/repos/R1ZZU/events2/branches{/branch}","tags_url":"https://api.github.com/repos/R1ZZU/events2/tags","blobs_url":"https://api.github.com/repos/R1ZZU/events2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/R1ZZU/events2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/R1ZZU/events2/git/refs{/sha}","trees_url":"https://api.github.com/repos/R1ZZU/events2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/R1ZZU/events2/statuses/{sha}","languages_url":"https://api.github.com/repos/R1ZZU/events2/languages","stargazers_url":"https://api.github.com/repos/R1ZZU/events2/stargazers","contributors_url":"https://api.github.com/repos/R1ZZU/events2/contributors","subscribers_url":"https://api.github.com/repos/R1ZZU/events2/subscribers","subscription_url":"https://api.github.com/repos/R1ZZU/events2/subscription","commits_url":"https://api.github.com/repos/R1ZZU/events2/commits{/sha}","git_commits_url":"https://api.github.com/repos/R1ZZU/events2/git/commits{/sha}","comments_url":"https://api.github.com/repos/R1ZZU/events2/comments{/number}","issue_comment_url":"https://api.github.com/repos/R1ZZU/events2/issues/comments{/number}","contents_url":"https://api.github.com/repos/R1ZZU/events2/contents/{+path}","compare_url":"https://api.github.com/repos/R1ZZU/events2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/R1ZZU/events2/merges","archive_url":"https://api.github.com/repos/R1ZZU/events2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/R1ZZU/events2/downloads","issues_url":"https://api.github.com/repos/R1ZZU/events2/issues{/number}","pulls_url":"https://api.github.com/repos/R1ZZU/events2/pulls{/number}","milestones_url":"https://api.github.com/repos/R1ZZU/events2/milestones{/number}","notifications_url":"https://api.github.com/repos/R1ZZU/events2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/R1ZZU/events2/labels{/name}","releases_url":"https://api.github.com/repos/R1ZZU/events2/releases{/id}","deployments_url":"https://api.github.com/repos/R1ZZU/events2/deployments","created_at":"2016-03-24T23:06:58Z","updated_at":"2016-03-31T09:18:29Z","pushed_at":"2016-03-29T18:30:37Z","git_url":"git://github.com/R1ZZU/events2.git","ssh_url":"git@github.com:R1ZZU/events2.git","clone_url":"https://github.com/R1ZZU/events2.git","svn_url":"https://github.com/R1ZZU/events2","homepage":null,"size":15,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/R1ZZU/events2/pulls/4"},"html":{"href":"https://github.com/R1ZZU/events2/pull/4"},"issue":{"href":"https://api.github.com/repos/R1ZZU/events2/issues/4"},"comments":{"href":"https://api.github.com/repos/R1ZZU/events2/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/R1ZZU/events2/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/R1ZZU/events2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/R1ZZU/events2/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/R1ZZU/events2/statuses/01b18c75b57a4b8c83ddba3ee4774e7458660475"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":13,"changed_files":2}}