{"action":"closed","number":152,"pull_request":{"url":"https://api.github.com/repos/Rabrennie/anything.js/pulls/152","id":52785672,"html_url":"https://github.com/Rabrennie/anything.js/pull/152","diff_url":"https://github.com/Rabrennie/anything.js/pull/152.diff","patch_url":"https://github.com/Rabrennie/anything.js/pull/152.patch","issue_url":"https://api.github.com/repos/Rabrennie/anything.js/issues/152","number":152,"state":"closed","locked":false,"title":"the times function","user":{"login":"oliver-j","id":9087155,"avatar_url":"https://avatars.githubusercontent.com/u/9087155?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver-j","html_url":"https://github.com/oliver-j","followers_url":"https://api.github.com/users/oliver-j/followers","following_url":"https://api.github.com/users/oliver-j/following{/other_user}","gists_url":"https://api.github.com/users/oliver-j/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-j/subscriptions","organizations_url":"https://api.github.com/users/oliver-j/orgs","repos_url":"https://api.github.com/users/oliver-j/repos","events_url":"https://api.github.com/users/oliver-j/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-j/received_events","type":"User","site_admin":false},"body":"// similar to rubys times 3.times { print \"hello world\" }\r\n\r\n// usage \r\ntimes(3, function () {\r\n\tconsole.log('hello world');\r\n});\r\n// prints out three times 'hello world' \r\n\r\n// if you want to prototype this thing \r\nNumber.prototype.times = function (funky) {\r\n  if (typeof funct === 'function') {\r\n    var m = Math;\r\n    for (var i = 0;i < m.floor(this);i++) {\r\n      funct(i);\r\n    }\r\n  }\r\n  return this;\r\n}\r\n\r\n//usage:\r\n(5).times(function () {\r\n\tconsole.log('hello world');\r\n});","created_at":"2015-12-06T17:48:34Z","updated_at":"2015-12-06T17:58:37Z","closed_at":"2015-12-06T17:58:37Z","merged_at":"2015-12-06T17:58:37Z","merge_commit_sha":"bef1ae250f22327b4081a76ee4dc8967d0669616","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rabrennie/anything.js/pulls/152/commits","review_comments_url":"https://api.github.com/repos/Rabrennie/anything.js/pulls/152/comments","review_comment_url":"https://api.github.com/repos/Rabrennie/anything.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rabrennie/anything.js/issues/152/comments","statuses_url":"https://api.github.com/repos/Rabrennie/anything.js/statuses/e3b5cdc66f075b295170fdfc13b6a9c803b22902","head":{"label":"oliver-j:times","ref":"times","sha":"e3b5cdc66f075b295170fdfc13b6a9c803b22902","user":{"login":"oliver-j","id":9087155,"avatar_url":"https://avatars.githubusercontent.com/u/9087155?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver-j","html_url":"https://github.com/oliver-j","followers_url":"https://api.github.com/users/oliver-j/followers","following_url":"https://api.github.com/users/oliver-j/following{/other_user}","gists_url":"https://api.github.com/users/oliver-j/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-j/subscriptions","organizations_url":"https://api.github.com/users/oliver-j/orgs","repos_url":"https://api.github.com/users/oliver-j/repos","events_url":"https://api.github.com/users/oliver-j/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-j/received_events","type":"User","site_admin":false},"repo":{"id":47500475,"name":"anything.js","full_name":"oliver-j/anything.js","owner":{"login":"oliver-j","id":9087155,"avatar_url":"https://avatars.githubusercontent.com/u/9087155?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver-j","html_url":"https://github.com/oliver-j","followers_url":"https://api.github.com/users/oliver-j/followers","following_url":"https://api.github.com/users/oliver-j/following{/other_user}","gists_url":"https://api.github.com/users/oliver-j/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-j/subscriptions","organizations_url":"https://api.github.com/users/oliver-j/orgs","repos_url":"https://api.github.com/users/oliver-j/repos","events_url":"https://api.github.com/users/oliver-j/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-j/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oliver-j/anything.js","description":"A javascript library that contains anything.","fork":true,"url":"https://api.github.com/repos/oliver-j/anything.js","forks_url":"https://api.github.com/repos/oliver-j/anything.js/forks","keys_url":"https://api.github.com/repos/oliver-j/anything.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oliver-j/anything.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oliver-j/anything.js/teams","hooks_url":"https://api.github.com/repos/oliver-j/anything.js/hooks","issue_events_url":"https://api.github.com/repos/oliver-j/anything.js/issues/events{/number}","events_url":"https://api.github.com/repos/oliver-j/anything.js/events","assignees_url":"https://api.github.com/repos/oliver-j/anything.js/assignees{/user}","branches_url":"https://api.github.com/repos/oliver-j/anything.js/branches{/branch}","tags_url":"https://api.github.com/repos/oliver-j/anything.js/tags","blobs_url":"https://api.github.com/repos/oliver-j/anything.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oliver-j/anything.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oliver-j/anything.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/oliver-j/anything.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oliver-j/anything.js/statuses/{sha}","languages_url":"https://api.github.com/repos/oliver-j/anything.js/languages","stargazers_url":"https://api.github.com/repos/oliver-j/anything.js/stargazers","contributors_url":"https://api.github.com/repos/oliver-j/anything.js/contributors","subscribers_url":"https://api.github.com/repos/oliver-j/anything.js/subscribers","subscription_url":"https://api.github.com/repos/oliver-j/anything.js/subscription","commits_url":"https://api.github.com/repos/oliver-j/anything.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/oliver-j/anything.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/oliver-j/anything.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/oliver-j/anything.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/oliver-j/anything.js/contents/{+path}","compare_url":"https://api.github.com/repos/oliver-j/anything.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oliver-j/anything.js/merges","archive_url":"https://api.github.com/repos/oliver-j/anything.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oliver-j/anything.js/downloads","issues_url":"https://api.github.com/repos/oliver-j/anything.js/issues{/number}","pulls_url":"https://api.github.com/repos/oliver-j/anything.js/pulls{/number}","milestones_url":"https://api.github.com/repos/oliver-j/anything.js/milestones{/number}","notifications_url":"https://api.github.com/repos/oliver-j/anything.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oliver-j/anything.js/labels{/name}","releases_url":"https://api.github.com/repos/oliver-j/anything.js/releases{/id}","created_at":"2015-12-06T14:44:03Z","updated_at":"2015-12-06T14:44:04Z","pushed_at":"2015-12-06T17:44:06Z","git_url":"git://github.com/oliver-j/anything.js.git","ssh_url":"git@github.com:oliver-j/anything.js.git","clone_url":"https://github.com/oliver-j/anything.js.git","svn_url":"https://github.com/oliver-j/anything.js","homepage":"http://rabrennie.com/anything.js","size":8080,"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":"Rabrennie:master","ref":"master","sha":"76d633b9840008f0ea043524d29b836a2ef26613","user":{"login":"Rabrennie","id":9087372,"avatar_url":"https://avatars.githubusercontent.com/u/9087372?v=3","gravatar_id":"","url":"https://api.github.com/users/Rabrennie","html_url":"https://github.com/Rabrennie","followers_url":"https://api.github.com/users/Rabrennie/followers","following_url":"https://api.github.com/users/Rabrennie/following{/other_user}","gists_url":"https://api.github.com/users/Rabrennie/gists{/gist_id}","starred_url":"https://api.github.com/users/Rabrennie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rabrennie/subscriptions","organizations_url":"https://api.github.com/users/Rabrennie/orgs","repos_url":"https://api.github.com/users/Rabrennie/repos","events_url":"https://api.github.com/users/Rabrennie/events{/privacy}","received_events_url":"https://api.github.com/users/Rabrennie/received_events","type":"User","site_admin":false},"repo":{"id":47442076,"name":"anything.js","full_name":"Rabrennie/anything.js","owner":{"login":"Rabrennie","id":9087372,"avatar_url":"https://avatars.githubusercontent.com/u/9087372?v=3","gravatar_id":"","url":"https://api.github.com/users/Rabrennie","html_url":"https://github.com/Rabrennie","followers_url":"https://api.github.com/users/Rabrennie/followers","following_url":"https://api.github.com/users/Rabrennie/following{/other_user}","gists_url":"https://api.github.com/users/Rabrennie/gists{/gist_id}","starred_url":"https://api.github.com/users/Rabrennie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rabrennie/subscriptions","organizations_url":"https://api.github.com/users/Rabrennie/orgs","repos_url":"https://api.github.com/users/Rabrennie/repos","events_url":"https://api.github.com/users/Rabrennie/events{/privacy}","received_events_url":"https://api.github.com/users/Rabrennie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rabrennie/anything.js","description":"A javascript library that contains anything.","fork":false,"url":"https://api.github.com/repos/Rabrennie/anything.js","forks_url":"https://api.github.com/repos/Rabrennie/anything.js/forks","keys_url":"https://api.github.com/repos/Rabrennie/anything.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rabrennie/anything.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rabrennie/anything.js/teams","hooks_url":"https://api.github.com/repos/Rabrennie/anything.js/hooks","issue_events_url":"https://api.github.com/repos/Rabrennie/anything.js/issues/events{/number}","events_url":"https://api.github.com/repos/Rabrennie/anything.js/events","assignees_url":"https://api.github.com/repos/Rabrennie/anything.js/assignees{/user}","branches_url":"https://api.github.com/repos/Rabrennie/anything.js/branches{/branch}","tags_url":"https://api.github.com/repos/Rabrennie/anything.js/tags","blobs_url":"https://api.github.com/repos/Rabrennie/anything.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rabrennie/anything.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rabrennie/anything.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rabrennie/anything.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rabrennie/anything.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Rabrennie/anything.js/languages","stargazers_url":"https://api.github.com/repos/Rabrennie/anything.js/stargazers","contributors_url":"https://api.github.com/repos/Rabrennie/anything.js/contributors","subscribers_url":"https://api.github.com/repos/Rabrennie/anything.js/subscribers","subscription_url":"https://api.github.com/repos/Rabrennie/anything.js/subscription","commits_url":"https://api.github.com/repos/Rabrennie/anything.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rabrennie/anything.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rabrennie/anything.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rabrennie/anything.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rabrennie/anything.js/contents/{+path}","compare_url":"https://api.github.com/repos/Rabrennie/anything.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rabrennie/anything.js/merges","archive_url":"https://api.github.com/repos/Rabrennie/anything.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rabrennie/anything.js/downloads","issues_url":"https://api.github.com/repos/Rabrennie/anything.js/issues{/number}","pulls_url":"https://api.github.com/repos/Rabrennie/anything.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Rabrennie/anything.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Rabrennie/anything.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rabrennie/anything.js/labels{/name}","releases_url":"https://api.github.com/repos/Rabrennie/anything.js/releases{/id}","created_at":"2015-12-05T04:21:21Z","updated_at":"2015-12-06T17:56:31Z","pushed_at":"2015-12-06T17:58:37Z","git_url":"git://github.com/Rabrennie/anything.js.git","ssh_url":"git@github.com:Rabrennie/anything.js.git","clone_url":"https://github.com/Rabrennie/anything.js.git","svn_url":"https://github.com/Rabrennie/anything.js","homepage":"http://rabrennie.com/anything.js","size":8402,"stargazers_count":169,"watchers_count":169,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":85,"mirror_url":null,"open_issues_count":1,"forks":85,"open_issues":1,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rabrennie/anything.js/pulls/152"},"html":{"href":"https://github.com/Rabrennie/anything.js/pull/152"},"issue":{"href":"https://api.github.com/repos/Rabrennie/anything.js/issues/152"},"comments":{"href":"https://api.github.com/repos/Rabrennie/anything.js/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/Rabrennie/anything.js/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/Rabrennie/anything.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rabrennie/anything.js/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/Rabrennie/anything.js/statuses/e3b5cdc66f075b295170fdfc13b6a9c803b22902"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Rabrennie","id":9087372,"avatar_url":"https://avatars.githubusercontent.com/u/9087372?v=3","gravatar_id":"","url":"https://api.github.com/users/Rabrennie","html_url":"https://github.com/Rabrennie","followers_url":"https://api.github.com/users/Rabrennie/followers","following_url":"https://api.github.com/users/Rabrennie/following{/other_user}","gists_url":"https://api.github.com/users/Rabrennie/gists{/gist_id}","starred_url":"https://api.github.com/users/Rabrennie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rabrennie/subscriptions","organizations_url":"https://api.github.com/users/Rabrennie/orgs","repos_url":"https://api.github.com/users/Rabrennie/repos","events_url":"https://api.github.com/users/Rabrennie/events{/privacy}","received_events_url":"https://api.github.com/users/Rabrennie/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":1}}