{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/26","id":46106070,"html_url":"https://github.com/nzakas/computer-science-in-javascript/pull/26","diff_url":"https://github.com/nzakas/computer-science-in-javascript/pull/26.diff","patch_url":"https://github.com/nzakas/computer-science-in-javascript/pull/26.patch","issue_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues/26","number":26,"state":"open","locked":false,"title":"Update binary-search-tree.js","user":{"login":"paulpooch","id":539514,"avatar_url":"https://avatars.githubusercontent.com/u/539514?v=3","gravatar_id":"","url":"https://api.github.com/users/paulpooch","html_url":"https://github.com/paulpooch","followers_url":"https://api.github.com/users/paulpooch/followers","following_url":"https://api.github.com/users/paulpooch/following{/other_user}","gists_url":"https://api.github.com/users/paulpooch/gists{/gist_id}","starred_url":"https://api.github.com/users/paulpooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulpooch/subscriptions","organizations_url":"https://api.github.com/users/paulpooch/orgs","repos_url":"https://api.github.com/users/paulpooch/repos","events_url":"https://api.github.com/users/paulpooch/events{/privacy}","received_events_url":"https://api.github.com/users/paulpooch/received_events","type":"User","site_admin":false},"body":"Fixes an issue caused by while(replacement.right !== null) never running, in which case replacementParent.right is destroyed and endless loops are created.","created_at":"2015-09-27T18:38:53Z","updated_at":"2015-09-27T18:38:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/26/commits","review_comments_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/26/comments","review_comment_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues/26/comments","statuses_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/statuses/d66d2668643a979b950b88d970c2815546f80029","head":{"label":"paulpooch:patch-2","ref":"patch-2","sha":"d66d2668643a979b950b88d970c2815546f80029","user":{"login":"paulpooch","id":539514,"avatar_url":"https://avatars.githubusercontent.com/u/539514?v=3","gravatar_id":"","url":"https://api.github.com/users/paulpooch","html_url":"https://github.com/paulpooch","followers_url":"https://api.github.com/users/paulpooch/followers","following_url":"https://api.github.com/users/paulpooch/following{/other_user}","gists_url":"https://api.github.com/users/paulpooch/gists{/gist_id}","starred_url":"https://api.github.com/users/paulpooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulpooch/subscriptions","organizations_url":"https://api.github.com/users/paulpooch/orgs","repos_url":"https://api.github.com/users/paulpooch/repos","events_url":"https://api.github.com/users/paulpooch/events{/privacy}","received_events_url":"https://api.github.com/users/paulpooch/received_events","type":"User","site_admin":false},"repo":{"id":43259260,"name":"computer-science-in-javascript","full_name":"paulpooch/computer-science-in-javascript","owner":{"login":"paulpooch","id":539514,"avatar_url":"https://avatars.githubusercontent.com/u/539514?v=3","gravatar_id":"","url":"https://api.github.com/users/paulpooch","html_url":"https://github.com/paulpooch","followers_url":"https://api.github.com/users/paulpooch/followers","following_url":"https://api.github.com/users/paulpooch/following{/other_user}","gists_url":"https://api.github.com/users/paulpooch/gists{/gist_id}","starred_url":"https://api.github.com/users/paulpooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulpooch/subscriptions","organizations_url":"https://api.github.com/users/paulpooch/orgs","repos_url":"https://api.github.com/users/paulpooch/repos","events_url":"https://api.github.com/users/paulpooch/events{/privacy}","received_events_url":"https://api.github.com/users/paulpooch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulpooch/computer-science-in-javascript","description":"Collection of classic computer science paradigms, algorithms, and approaches written in JavaScript. ","fork":true,"url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript","forks_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/forks","keys_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/teams","hooks_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/hooks","issue_events_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/issues/events{/number}","events_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/events","assignees_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/assignees{/user}","branches_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/branches{/branch}","tags_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/tags","blobs_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/languages","stargazers_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/stargazers","contributors_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/contributors","subscribers_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/subscribers","subscription_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/subscription","commits_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/contents/{+path}","compare_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/merges","archive_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/downloads","issues_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/issues{/number}","pulls_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/labels{/name}","releases_url":"https://api.github.com/repos/paulpooch/computer-science-in-javascript/releases{/id}","created_at":"2015-09-27T18:35:02Z","updated_at":"2015-09-27T18:35:03Z","pushed_at":"2015-09-27T18:38:48Z","git_url":"git://github.com/paulpooch/computer-science-in-javascript.git","ssh_url":"git@github.com:paulpooch/computer-science-in-javascript.git","clone_url":"https://github.com/paulpooch/computer-science-in-javascript.git","svn_url":"https://github.com/paulpooch/computer-science-in-javascript","homepage":"http://www.nczonline.net/","size":236,"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":"nzakas:master","ref":"master","sha":"47201a34f10d2054af7273e36882ecb44c177433","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"repo":{"id":173796,"name":"computer-science-in-javascript","full_name":"nzakas/computer-science-in-javascript","owner":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nzakas/computer-science-in-javascript","description":"Collection of classic computer science paradigms, algorithms, and approaches written in JavaScript. ","fork":false,"url":"https://api.github.com/repos/nzakas/computer-science-in-javascript","forks_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/forks","keys_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/teams","hooks_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/hooks","issue_events_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues/events{/number}","events_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/events","assignees_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/assignees{/user}","branches_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/branches{/branch}","tags_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/tags","blobs_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/languages","stargazers_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/stargazers","contributors_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/contributors","subscribers_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/subscribers","subscription_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/subscription","commits_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/contents/{+path}","compare_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/merges","archive_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/downloads","issues_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues{/number}","pulls_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/labels{/name}","releases_url":"https://api.github.com/repos/nzakas/computer-science-in-javascript/releases{/id}","created_at":"2009-04-12T01:03:24Z","updated_at":"2015-09-27T12:57:14Z","pushed_at":"2015-04-03T23:45:24Z","git_url":"git://github.com/nzakas/computer-science-in-javascript.git","ssh_url":"git@github.com:nzakas/computer-science-in-javascript.git","clone_url":"https://github.com/nzakas/computer-science-in-javascript.git","svn_url":"https://github.com/nzakas/computer-science-in-javascript","homepage":"http://www.nczonline.net/","size":236,"stargazers_count":3069,"watchers_count":3069,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":450,"mirror_url":null,"open_issues_count":17,"forks":450,"open_issues":17,"watchers":3069,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/26"},"html":{"href":"https://github.com/nzakas/computer-science-in-javascript/pull/26"},"issue":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues/26"},"comments":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/nzakas/computer-science-in-javascript/statuses/d66d2668643a979b950b88d970c2815546f80029"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}