{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/66588841","id":66588841,"diff_hunk":"@@ -9,9 +9,10 @@\n  * Creates a new array or string containing only a specified number of elements. The elements\n  * are taken from either the beginning or the end of the source array, string or number, as specified by\n  * the value and sign (positive or negative) of `limit`. If a number is used as input, it is\n- * converted to a string.\n+ * converted to a string. Array-like values (e.g. NodeLists, jQuery objects, TypedArrays, Strings, etc)\n+ * are also supported.\n  *\n- * @param {Array|string|number} input Source array, string or number to be limited.\n+ * @param {Array} input Array or array-like to be limited.","path":"src/ng/filter/limitTo.js","position":9,"original_position":9,"commit_id":"8905747bb73e33e601dc3d0e42a99605014d1761","original_commit_id":"8905747bb73e33e601dc3d0e42a99605014d1761","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"body":"So the param type should be `{Array|string|number|object}` right?","created_at":"2016-06-10T09:55:56Z","updated_at":"2016-06-10T09:55:56Z","html_url":"https://github.com/angular/angular.js/pull/14694#discussion_r66588841","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/14694","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/66588841"},"html":{"href":"https://github.com/angular/angular.js/pull/14694#discussion_r66588841"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14694"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/14694","id":71958649,"html_url":"https://github.com/angular/angular.js/pull/14694","diff_url":"https://github.com/angular/angular.js/pull/14694.diff","patch_url":"https://github.com/angular/angular.js/pull/14694.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/14694","number":14694,"state":"open","locked":false,"title":"feat(limitTo): add support for array-likes","user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"body":"- Add support for array-like objects\r\n\r\nThis implements #14657.","created_at":"2016-05-31T04:59:43Z","updated_at":"2016-06-10T09:55:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe521e7268da49112ae8798ccfef3ca87c531436","assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/27","html_url":"https://github.com/angular/angular.js/milestones/Backlog","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/27/labels","id":489171,"number":27,"title":"Backlog","description":"Holds the backlog of issues and pull requests that have been triaged.\r\n\r\nBefore assigning items to this milestone they should be labelled, at the very least with the correct \"type\" label (i.e. \"issue\", \"pr\", \"bug\", \"regression\", \"chore\", \"docs\", etc).  Preferably you should also check for duplicate issues/PRs, note CLA status and assign \"complexity\" and \"impact\" labels too.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":533,"closed_issues":1314,"state":"open","created_at":"2013-11-18T23:30:35Z","updated_at":"2016-06-10T09:46:38Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/14694/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/14694/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/14694/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/8905747bb73e33e601dc3d0e42a99605014d1761","head":{"label":"wesleycho:feat/limit-arraylike","ref":"feat/limit-arraylike","sha":"8905747bb73e33e601dc3d0e42a99605014d1761","user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"repo":{"id":10172119,"name":"angular.js","full_name":"wesleycho/angular.js","owner":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wesleycho/angular.js","description":"","fork":true,"url":"https://api.github.com/repos/wesleycho/angular.js","forks_url":"https://api.github.com/repos/wesleycho/angular.js/forks","keys_url":"https://api.github.com/repos/wesleycho/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wesleycho/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wesleycho/angular.js/teams","hooks_url":"https://api.github.com/repos/wesleycho/angular.js/hooks","issue_events_url":"https://api.github.com/repos/wesleycho/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/wesleycho/angular.js/events","assignees_url":"https://api.github.com/repos/wesleycho/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/wesleycho/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/wesleycho/angular.js/tags","blobs_url":"https://api.github.com/repos/wesleycho/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wesleycho/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wesleycho/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/wesleycho/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wesleycho/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/wesleycho/angular.js/languages","stargazers_url":"https://api.github.com/repos/wesleycho/angular.js/stargazers","contributors_url":"https://api.github.com/repos/wesleycho/angular.js/contributors","subscribers_url":"https://api.github.com/repos/wesleycho/angular.js/subscribers","subscription_url":"https://api.github.com/repos/wesleycho/angular.js/subscription","commits_url":"https://api.github.com/repos/wesleycho/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/wesleycho/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/wesleycho/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/wesleycho/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/wesleycho/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/wesleycho/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wesleycho/angular.js/merges","archive_url":"https://api.github.com/repos/wesleycho/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wesleycho/angular.js/downloads","issues_url":"https://api.github.com/repos/wesleycho/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/wesleycho/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/wesleycho/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/wesleycho/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wesleycho/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/wesleycho/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/wesleycho/angular.js/deployments","created_at":"2013-05-20T12:21:53Z","updated_at":"2015-03-08T16:25:31Z","pushed_at":"2016-06-08T21:56:10Z","git_url":"git://github.com/wesleycho/angular.js.git","ssh_url":"git@github.com:wesleycho/angular.js.git","clone_url":"https://github.com/wesleycho/angular.js.git","svn_url":"https://github.com/wesleycho/angular.js","homepage":"http://angularjs.org","size":80472,"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":"angular:master","ref":"master","sha":"f3377da6a748007c11fde090890ee58fae4cefa5","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"HTML enhanced for web apps","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular.js/deployments","created_at":"2010-01-06T00:34:37Z","updated_at":"2016-06-10T09:31:00Z","pushed_at":"2016-06-10T09:52:45Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"http://angularjs.org","size":188563,"stargazers_count":49804,"watchers_count":49804,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24033,"mirror_url":null,"open_issues_count":959,"forks":24033,"open_issues":959,"watchers":49804,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14694"},"html":{"href":"https://github.com/angular/angular.js/pull/14694"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/14694"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/14694/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14694/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14694/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/8905747bb73e33e601dc3d0e42a99605014d1761"}}}}
{"actor":{"display_login":"petebacondarwin"}}