{"action":"closed","number":627,"pull_request":{"url":"https://api.github.com/repos/novus/nvd3/pulls/627","id":18571814,"html_url":"https://github.com/novus/nvd3/pull/627","diff_url":"https://github.com/novus/nvd3/pull/627.diff","patch_url":"https://github.com/novus/nvd3/pull/627.patch","issue_url":"https://api.github.com/repos/novus/nvd3/issues/627","number":627,"state":"closed","locked":false,"title":"Add ()'s so that instanceof check works as intended","user":{"login":"MatrixFrog","id":244381,"avatar_url":"https://avatars.githubusercontent.com/u/244381?v=3","gravatar_id":"","url":"https://api.github.com/users/MatrixFrog","html_url":"https://github.com/MatrixFrog","followers_url":"https://api.github.com/users/MatrixFrog/followers","following_url":"https://api.github.com/users/MatrixFrog/following{/other_user}","gists_url":"https://api.github.com/users/MatrixFrog/gists{/gist_id}","starred_url":"https://api.github.com/users/MatrixFrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatrixFrog/subscriptions","organizations_url":"https://api.github.com/users/MatrixFrog/orgs","repos_url":"https://api.github.com/users/MatrixFrog/repos","events_url":"https://api.github.com/users/MatrixFrog/events{/privacy}","received_events_url":"https://api.github.com/users/MatrixFrog/received_events","type":"User","site_admin":false},"body":"instanceof has a higher precedence than the ! operator, so this is needed, otherwise you're just calling 'true instanceof Array' or 'false instanceof Array' which are both always false.","created_at":"2014-07-18T07:42:13Z","updated_at":"2015-02-04T05:26:24Z","closed_at":"2015-02-04T05:26:24Z","merged_at":"2015-02-04T05:26:24Z","merge_commit_sha":"a4f36f34cd3efe10d5c6e0271dcaa1827501b317","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/novus/nvd3/pulls/627/commits","review_comments_url":"https://api.github.com/repos/novus/nvd3/pulls/627/comments","review_comment_url":"https://api.github.com/repos/novus/nvd3/pulls/comments/{number}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/627/comments","statuses_url":"https://api.github.com/repos/novus/nvd3/statuses/634bee27fd3ccfdf68d2ebb6bb5e83274c22bd81","head":{"label":"MatrixFrog:patch-1","ref":"patch-1","sha":"634bee27fd3ccfdf68d2ebb6bb5e83274c22bd81","user":{"login":"MatrixFrog","id":244381,"avatar_url":"https://avatars.githubusercontent.com/u/244381?v=3","gravatar_id":"","url":"https://api.github.com/users/MatrixFrog","html_url":"https://github.com/MatrixFrog","followers_url":"https://api.github.com/users/MatrixFrog/followers","following_url":"https://api.github.com/users/MatrixFrog/following{/other_user}","gists_url":"https://api.github.com/users/MatrixFrog/gists{/gist_id}","starred_url":"https://api.github.com/users/MatrixFrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatrixFrog/subscriptions","organizations_url":"https://api.github.com/users/MatrixFrog/orgs","repos_url":"https://api.github.com/users/MatrixFrog/repos","events_url":"https://api.github.com/users/MatrixFrog/events{/privacy}","received_events_url":"https://api.github.com/users/MatrixFrog/received_events","type":"User","site_admin":false},"repo":{"id":21972108,"name":"nvd3","full_name":"MatrixFrog/nvd3","owner":{"login":"MatrixFrog","id":244381,"avatar_url":"https://avatars.githubusercontent.com/u/244381?v=3","gravatar_id":"","url":"https://api.github.com/users/MatrixFrog","html_url":"https://github.com/MatrixFrog","followers_url":"https://api.github.com/users/MatrixFrog/followers","following_url":"https://api.github.com/users/MatrixFrog/following{/other_user}","gists_url":"https://api.github.com/users/MatrixFrog/gists{/gist_id}","starred_url":"https://api.github.com/users/MatrixFrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatrixFrog/subscriptions","organizations_url":"https://api.github.com/users/MatrixFrog/orgs","repos_url":"https://api.github.com/users/MatrixFrog/repos","events_url":"https://api.github.com/users/MatrixFrog/events{/privacy}","received_events_url":"https://api.github.com/users/MatrixFrog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatrixFrog/nvd3","description":"","fork":true,"url":"https://api.github.com/repos/MatrixFrog/nvd3","forks_url":"https://api.github.com/repos/MatrixFrog/nvd3/forks","keys_url":"https://api.github.com/repos/MatrixFrog/nvd3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatrixFrog/nvd3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatrixFrog/nvd3/teams","hooks_url":"https://api.github.com/repos/MatrixFrog/nvd3/hooks","issue_events_url":"https://api.github.com/repos/MatrixFrog/nvd3/issues/events{/number}","events_url":"https://api.github.com/repos/MatrixFrog/nvd3/events","assignees_url":"https://api.github.com/repos/MatrixFrog/nvd3/assignees{/user}","branches_url":"https://api.github.com/repos/MatrixFrog/nvd3/branches{/branch}","tags_url":"https://api.github.com/repos/MatrixFrog/nvd3/tags","blobs_url":"https://api.github.com/repos/MatrixFrog/nvd3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatrixFrog/nvd3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatrixFrog/nvd3/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatrixFrog/nvd3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatrixFrog/nvd3/statuses/{sha}","languages_url":"https://api.github.com/repos/MatrixFrog/nvd3/languages","stargazers_url":"https://api.github.com/repos/MatrixFrog/nvd3/stargazers","contributors_url":"https://api.github.com/repos/MatrixFrog/nvd3/contributors","subscribers_url":"https://api.github.com/repos/MatrixFrog/nvd3/subscribers","subscription_url":"https://api.github.com/repos/MatrixFrog/nvd3/subscription","commits_url":"https://api.github.com/repos/MatrixFrog/nvd3/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatrixFrog/nvd3/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatrixFrog/nvd3/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatrixFrog/nvd3/issues/comments/{number}","contents_url":"https://api.github.com/repos/MatrixFrog/nvd3/contents/{+path}","compare_url":"https://api.github.com/repos/MatrixFrog/nvd3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatrixFrog/nvd3/merges","archive_url":"https://api.github.com/repos/MatrixFrog/nvd3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatrixFrog/nvd3/downloads","issues_url":"https://api.github.com/repos/MatrixFrog/nvd3/issues{/number}","pulls_url":"https://api.github.com/repos/MatrixFrog/nvd3/pulls{/number}","milestones_url":"https://api.github.com/repos/MatrixFrog/nvd3/milestones{/number}","notifications_url":"https://api.github.com/repos/MatrixFrog/nvd3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatrixFrog/nvd3/labels{/name}","releases_url":"https://api.github.com/repos/MatrixFrog/nvd3/releases{/id}","created_at":"2014-07-18T07:40:40Z","updated_at":"2014-07-18T07:42:09Z","pushed_at":"2014-07-18T07:42:09Z","git_url":"git://github.com/MatrixFrog/nvd3.git","ssh_url":"git@github.com:MatrixFrog/nvd3.git","clone_url":"https://github.com/MatrixFrog/nvd3.git","svn_url":"https://github.com/MatrixFrog/nvd3","homepage":"http://nvd3.org/","size":9997,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"novus:master","ref":"master","sha":"6616c9e9314a73ed7d23a76eda8e82ecc697630b","user":{"login":"novus","id":293390,"avatar_url":"https://avatars.githubusercontent.com/u/293390?v=3","gravatar_id":"","url":"https://api.github.com/users/novus","html_url":"https://github.com/novus","followers_url":"https://api.github.com/users/novus/followers","following_url":"https://api.github.com/users/novus/following{/other_user}","gists_url":"https://api.github.com/users/novus/gists{/gist_id}","starred_url":"https://api.github.com/users/novus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novus/subscriptions","organizations_url":"https://api.github.com/users/novus/orgs","repos_url":"https://api.github.com/users/novus/repos","events_url":"https://api.github.com/users/novus/events{/privacy}","received_events_url":"https://api.github.com/users/novus/received_events","type":"Organization","site_admin":false},"repo":{"id":6709682,"name":"nvd3","full_name":"novus/nvd3","owner":{"login":"novus","id":293390,"avatar_url":"https://avatars.githubusercontent.com/u/293390?v=3","gravatar_id":"","url":"https://api.github.com/users/novus","html_url":"https://github.com/novus","followers_url":"https://api.github.com/users/novus/followers","following_url":"https://api.github.com/users/novus/following{/other_user}","gists_url":"https://api.github.com/users/novus/gists{/gist_id}","starred_url":"https://api.github.com/users/novus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novus/subscriptions","organizations_url":"https://api.github.com/users/novus/orgs","repos_url":"https://api.github.com/users/novus/repos","events_url":"https://api.github.com/users/novus/events{/privacy}","received_events_url":"https://api.github.com/users/novus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novus/nvd3","description":"","fork":false,"url":"https://api.github.com/repos/novus/nvd3","forks_url":"https://api.github.com/repos/novus/nvd3/forks","keys_url":"https://api.github.com/repos/novus/nvd3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novus/nvd3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novus/nvd3/teams","hooks_url":"https://api.github.com/repos/novus/nvd3/hooks","issue_events_url":"https://api.github.com/repos/novus/nvd3/issues/events{/number}","events_url":"https://api.github.com/repos/novus/nvd3/events","assignees_url":"https://api.github.com/repos/novus/nvd3/assignees{/user}","branches_url":"https://api.github.com/repos/novus/nvd3/branches{/branch}","tags_url":"https://api.github.com/repos/novus/nvd3/tags","blobs_url":"https://api.github.com/repos/novus/nvd3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novus/nvd3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novus/nvd3/git/refs{/sha}","trees_url":"https://api.github.com/repos/novus/nvd3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novus/nvd3/statuses/{sha}","languages_url":"https://api.github.com/repos/novus/nvd3/languages","stargazers_url":"https://api.github.com/repos/novus/nvd3/stargazers","contributors_url":"https://api.github.com/repos/novus/nvd3/contributors","subscribers_url":"https://api.github.com/repos/novus/nvd3/subscribers","subscription_url":"https://api.github.com/repos/novus/nvd3/subscription","commits_url":"https://api.github.com/repos/novus/nvd3/commits{/sha}","git_commits_url":"https://api.github.com/repos/novus/nvd3/git/commits{/sha}","comments_url":"https://api.github.com/repos/novus/nvd3/comments{/number}","issue_comment_url":"https://api.github.com/repos/novus/nvd3/issues/comments/{number}","contents_url":"https://api.github.com/repos/novus/nvd3/contents/{+path}","compare_url":"https://api.github.com/repos/novus/nvd3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novus/nvd3/merges","archive_url":"https://api.github.com/repos/novus/nvd3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novus/nvd3/downloads","issues_url":"https://api.github.com/repos/novus/nvd3/issues{/number}","pulls_url":"https://api.github.com/repos/novus/nvd3/pulls{/number}","milestones_url":"https://api.github.com/repos/novus/nvd3/milestones{/number}","notifications_url":"https://api.github.com/repos/novus/nvd3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novus/nvd3/labels{/name}","releases_url":"https://api.github.com/repos/novus/nvd3/releases{/id}","created_at":"2012-11-15T18:51:59Z","updated_at":"2015-02-04T04:46:00Z","pushed_at":"2015-02-04T05:26:24Z","git_url":"git://github.com/novus/nvd3.git","ssh_url":"git@github.com:novus/nvd3.git","clone_url":"https://github.com/novus/nvd3.git","svn_url":"https://github.com/novus/nvd3","homepage":"http://nvd3.org/","size":15765,"stargazers_count":3360,"watchers_count":3360,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1137,"mirror_url":null,"open_issues_count":400,"forks":1137,"open_issues":400,"watchers":3360,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novus/nvd3/pulls/627"},"html":{"href":"https://github.com/novus/nvd3/pull/627"},"issue":{"href":"https://api.github.com/repos/novus/nvd3/issues/627"},"comments":{"href":"https://api.github.com/repos/novus/nvd3/issues/627/comments"},"review_comments":{"href":"https://api.github.com/repos/novus/nvd3/pulls/627/comments"},"review_comment":{"href":"https://api.github.com/repos/novus/nvd3/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/novus/nvd3/pulls/627/commits"},"statuses":{"href":"https://api.github.com/repos/novus/nvd3/statuses/634bee27fd3ccfdf68d2ebb6bb5e83274c22bd81"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"robinfhu","id":3769532,"avatar_url":"https://avatars.githubusercontent.com/u/3769532?v=3","gravatar_id":"","url":"https://api.github.com/users/robinfhu","html_url":"https://github.com/robinfhu","followers_url":"https://api.github.com/users/robinfhu/followers","following_url":"https://api.github.com/users/robinfhu/following{/other_user}","gists_url":"https://api.github.com/users/robinfhu/gists{/gist_id}","starred_url":"https://api.github.com/users/robinfhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinfhu/subscriptions","organizations_url":"https://api.github.com/users/robinfhu/orgs","repos_url":"https://api.github.com/users/robinfhu/repos","events_url":"https://api.github.com/users/robinfhu/events{/privacy}","received_events_url":"https://api.github.com/users/robinfhu/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}