{"action":"closed","number":58,"pull_request":{"url":"https://api.github.com/repos/MikeMcl/big.js/pulls/58","id":54427426,"html_url":"https://github.com/MikeMcl/big.js/pull/58","diff_url":"https://github.com/MikeMcl/big.js/pull/58.diff","patch_url":"https://github.com/MikeMcl/big.js/pull/58.patch","issue_url":"https://api.github.com/repos/MikeMcl/big.js/issues/58","number":58,"state":"closed","locked":false,"title":"add class function to sum Bigs","user":{"login":"zigg","id":56017,"avatar_url":"https://avatars.githubusercontent.com/u/56017?v=3","gravatar_id":"","url":"https://api.github.com/users/zigg","html_url":"https://github.com/zigg","followers_url":"https://api.github.com/users/zigg/followers","following_url":"https://api.github.com/users/zigg/following{/other_user}","gists_url":"https://api.github.com/users/zigg/gists{/gist_id}","starred_url":"https://api.github.com/users/zigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zigg/subscriptions","organizations_url":"https://api.github.com/users/zigg/orgs","repos_url":"https://api.github.com/users/zigg/repos","events_url":"https://api.github.com/users/zigg/events{/privacy}","received_events_url":"https://api.github.com/users/zigg/received_events","type":"User","site_admin":false},"body":"I've added a `sum` function to the `Big` class that accepts a list of `Big`s and sums them.\r\n\r\nI expect there are a few issues:\r\n\r\n   - I used [`Array.prototype.reduce()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) to sum, which became available in ES5.1. I can change out the implementation if you want to stay more backwards-compatible.\r\n\r\n   - I ran your build target but I see there's no version/license in my `big.min.js`. I'm not sure how that's supposed to get there.\r\n\r\nThanks for your consideration!","created_at":"2015-12-22T23:36:00Z","updated_at":"2015-12-28T12:35:41Z","closed_at":"2015-12-28T12:35:41Z","merged_at":null,"merge_commit_sha":"0e47d25202cbd6546b6a16c887b7e9c74d998cd4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MikeMcl/big.js/pulls/58/commits","review_comments_url":"https://api.github.com/repos/MikeMcl/big.js/pulls/58/comments","review_comment_url":"https://api.github.com/repos/MikeMcl/big.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MikeMcl/big.js/issues/58/comments","statuses_url":"https://api.github.com/repos/MikeMcl/big.js/statuses/2dc17df4d186517f7ab763c7acb43938ada78a28","head":{"label":"zigg:sum","ref":"sum","sha":"2dc17df4d186517f7ab763c7acb43938ada78a28","user":{"login":"zigg","id":56017,"avatar_url":"https://avatars.githubusercontent.com/u/56017?v=3","gravatar_id":"","url":"https://api.github.com/users/zigg","html_url":"https://github.com/zigg","followers_url":"https://api.github.com/users/zigg/followers","following_url":"https://api.github.com/users/zigg/following{/other_user}","gists_url":"https://api.github.com/users/zigg/gists{/gist_id}","starred_url":"https://api.github.com/users/zigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zigg/subscriptions","organizations_url":"https://api.github.com/users/zigg/orgs","repos_url":"https://api.github.com/users/zigg/repos","events_url":"https://api.github.com/users/zigg/events{/privacy}","received_events_url":"https://api.github.com/users/zigg/received_events","type":"User","site_admin":false},"repo":{"id":48456598,"name":"big.js","full_name":"zigg/big.js","owner":{"login":"zigg","id":56017,"avatar_url":"https://avatars.githubusercontent.com/u/56017?v=3","gravatar_id":"","url":"https://api.github.com/users/zigg","html_url":"https://github.com/zigg","followers_url":"https://api.github.com/users/zigg/followers","following_url":"https://api.github.com/users/zigg/following{/other_user}","gists_url":"https://api.github.com/users/zigg/gists{/gist_id}","starred_url":"https://api.github.com/users/zigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zigg/subscriptions","organizations_url":"https://api.github.com/users/zigg/orgs","repos_url":"https://api.github.com/users/zigg/repos","events_url":"https://api.github.com/users/zigg/events{/privacy}","received_events_url":"https://api.github.com/users/zigg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zigg/big.js","description":"A small, fast JavaScript library for arbitrary-precision decimal arithmetic.","fork":true,"url":"https://api.github.com/repos/zigg/big.js","forks_url":"https://api.github.com/repos/zigg/big.js/forks","keys_url":"https://api.github.com/repos/zigg/big.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zigg/big.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zigg/big.js/teams","hooks_url":"https://api.github.com/repos/zigg/big.js/hooks","issue_events_url":"https://api.github.com/repos/zigg/big.js/issues/events{/number}","events_url":"https://api.github.com/repos/zigg/big.js/events","assignees_url":"https://api.github.com/repos/zigg/big.js/assignees{/user}","branches_url":"https://api.github.com/repos/zigg/big.js/branches{/branch}","tags_url":"https://api.github.com/repos/zigg/big.js/tags","blobs_url":"https://api.github.com/repos/zigg/big.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zigg/big.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zigg/big.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/zigg/big.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zigg/big.js/statuses/{sha}","languages_url":"https://api.github.com/repos/zigg/big.js/languages","stargazers_url":"https://api.github.com/repos/zigg/big.js/stargazers","contributors_url":"https://api.github.com/repos/zigg/big.js/contributors","subscribers_url":"https://api.github.com/repos/zigg/big.js/subscribers","subscription_url":"https://api.github.com/repos/zigg/big.js/subscription","commits_url":"https://api.github.com/repos/zigg/big.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/zigg/big.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/zigg/big.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/zigg/big.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/zigg/big.js/contents/{+path}","compare_url":"https://api.github.com/repos/zigg/big.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zigg/big.js/merges","archive_url":"https://api.github.com/repos/zigg/big.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zigg/big.js/downloads","issues_url":"https://api.github.com/repos/zigg/big.js/issues{/number}","pulls_url":"https://api.github.com/repos/zigg/big.js/pulls{/number}","milestones_url":"https://api.github.com/repos/zigg/big.js/milestones{/number}","notifications_url":"https://api.github.com/repos/zigg/big.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zigg/big.js/labels{/name}","releases_url":"https://api.github.com/repos/zigg/big.js/releases{/id}","created_at":"2015-12-22T22:16:46Z","updated_at":"2015-12-22T22:16:47Z","pushed_at":"2015-12-22T23:34:28Z","git_url":"git://github.com/zigg/big.js.git","ssh_url":"git@github.com:zigg/big.js.git","clone_url":"https://github.com/zigg/big.js.git","svn_url":"https://github.com/zigg/big.js","homepage":"http://mikemcl.github.io/big.js","size":1519,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"MikeMcl:master","ref":"master","sha":"86268e96b3dbf6db8ce319489f410277d9d4ea1b","user":{"login":"MikeMcl","id":921201,"avatar_url":"https://avatars.githubusercontent.com/u/921201?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcl","html_url":"https://github.com/MikeMcl","followers_url":"https://api.github.com/users/MikeMcl/followers","following_url":"https://api.github.com/users/MikeMcl/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcl/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcl/subscriptions","organizations_url":"https://api.github.com/users/MikeMcl/orgs","repos_url":"https://api.github.com/users/MikeMcl/repos","events_url":"https://api.github.com/users/MikeMcl/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcl/received_events","type":"User","site_admin":false},"repo":{"id":6584365,"name":"big.js","full_name":"MikeMcl/big.js","owner":{"login":"MikeMcl","id":921201,"avatar_url":"https://avatars.githubusercontent.com/u/921201?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcl","html_url":"https://github.com/MikeMcl","followers_url":"https://api.github.com/users/MikeMcl/followers","following_url":"https://api.github.com/users/MikeMcl/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcl/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcl/subscriptions","organizations_url":"https://api.github.com/users/MikeMcl/orgs","repos_url":"https://api.github.com/users/MikeMcl/repos","events_url":"https://api.github.com/users/MikeMcl/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikeMcl/big.js","description":"A small, fast JavaScript library for arbitrary-precision decimal arithmetic.","fork":false,"url":"https://api.github.com/repos/MikeMcl/big.js","forks_url":"https://api.github.com/repos/MikeMcl/big.js/forks","keys_url":"https://api.github.com/repos/MikeMcl/big.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikeMcl/big.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikeMcl/big.js/teams","hooks_url":"https://api.github.com/repos/MikeMcl/big.js/hooks","issue_events_url":"https://api.github.com/repos/MikeMcl/big.js/issues/events{/number}","events_url":"https://api.github.com/repos/MikeMcl/big.js/events","assignees_url":"https://api.github.com/repos/MikeMcl/big.js/assignees{/user}","branches_url":"https://api.github.com/repos/MikeMcl/big.js/branches{/branch}","tags_url":"https://api.github.com/repos/MikeMcl/big.js/tags","blobs_url":"https://api.github.com/repos/MikeMcl/big.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikeMcl/big.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikeMcl/big.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikeMcl/big.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikeMcl/big.js/statuses/{sha}","languages_url":"https://api.github.com/repos/MikeMcl/big.js/languages","stargazers_url":"https://api.github.com/repos/MikeMcl/big.js/stargazers","contributors_url":"https://api.github.com/repos/MikeMcl/big.js/contributors","subscribers_url":"https://api.github.com/repos/MikeMcl/big.js/subscribers","subscription_url":"https://api.github.com/repos/MikeMcl/big.js/subscription","commits_url":"https://api.github.com/repos/MikeMcl/big.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikeMcl/big.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikeMcl/big.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikeMcl/big.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikeMcl/big.js/contents/{+path}","compare_url":"https://api.github.com/repos/MikeMcl/big.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikeMcl/big.js/merges","archive_url":"https://api.github.com/repos/MikeMcl/big.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikeMcl/big.js/downloads","issues_url":"https://api.github.com/repos/MikeMcl/big.js/issues{/number}","pulls_url":"https://api.github.com/repos/MikeMcl/big.js/pulls{/number}","milestones_url":"https://api.github.com/repos/MikeMcl/big.js/milestones{/number}","notifications_url":"https://api.github.com/repos/MikeMcl/big.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikeMcl/big.js/labels{/name}","releases_url":"https://api.github.com/repos/MikeMcl/big.js/releases{/id}","created_at":"2012-11-07T18:50:54Z","updated_at":"2015-12-28T02:55:19Z","pushed_at":"2015-12-22T23:36:00Z","git_url":"git://github.com/MikeMcl/big.js.git","ssh_url":"git@github.com:MikeMcl/big.js.git","clone_url":"https://github.com/MikeMcl/big.js.git","svn_url":"https://github.com/MikeMcl/big.js","homepage":"http://mikemcl.github.io/big.js","size":4154,"stargazers_count":546,"watchers_count":546,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":59,"mirror_url":null,"open_issues_count":0,"forks":59,"open_issues":0,"watchers":546,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MikeMcl/big.js/pulls/58"},"html":{"href":"https://github.com/MikeMcl/big.js/pull/58"},"issue":{"href":"https://api.github.com/repos/MikeMcl/big.js/issues/58"},"comments":{"href":"https://api.github.com/repos/MikeMcl/big.js/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/MikeMcl/big.js/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/MikeMcl/big.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MikeMcl/big.js/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/MikeMcl/big.js/statuses/2dc17df4d186517f7ab763c7acb43938ada78a28"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":78,"deletions":2,"changed_files":4}}