{"action":"created","comment":{"url":"https://api.github.com/repos/jashkenas/backbone/pulls/comments/24862414","id":24862414,"diff_hunk":"@@ -1777,7 +1777,10 @@ <h2 id=\"Collection\">Backbone.Collection</h2>\n     <p id=\"Collection-remove\">\n       <b class=\"header\">remove</b><code>collection.remove(models, [options])</code>\n       <br />\n-      Remove a model (or an array of models) from the collection, and returns them.\n+      Remove a model (or an array of models) from the collection, and returns\n+      them. <tt>models</tt> (or each of its elements if an array) can be any","path":"index.html","position":6,"original_position":6,"commit_id":"73701629388a2c48af46793e947046e80b6b413a","original_commit_id":"73701629388a2c48af46793e947046e80b6b413a","user":{"login":"akre54","id":931368,"avatar_url":"https://avatars.githubusercontent.com/u/931368?v=3","gravatar_id":"","url":"https://api.github.com/users/akre54","html_url":"https://github.com/akre54","followers_url":"https://api.github.com/users/akre54/followers","following_url":"https://api.github.com/users/akre54/following{/other_user}","gists_url":"https://api.github.com/users/akre54/gists{/gist_id}","starred_url":"https://api.github.com/users/akre54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akre54/subscriptions","organizations_url":"https://api.github.com/users/akre54/orgs","repos_url":"https://api.github.com/users/akre54/repos","events_url":"https://api.github.com/users/akre54/events{/privacy}","received_events_url":"https://api.github.com/users/akre54/received_events","type":"User","site_admin":false},"body":"Personally I feel it's a little more confusing to refer to `get`. I have a slight pref to enumerate the options here.\r\n\r\nConversely, I'm not sure you need to spell out the \"if models is an array\" part twice. The plural kind of implies that. ","created_at":"2015-02-17T22:45:02Z","updated_at":"2015-02-17T22:45:02Z","html_url":"https://github.com/jashkenas/backbone/pull/3495#discussion_r24862414","pull_request_url":"https://api.github.com/repos/jashkenas/backbone/pulls/3495","_links":{"self":{"href":"https://api.github.com/repos/jashkenas/backbone/pulls/comments/24862414"},"html":{"href":"https://github.com/jashkenas/backbone/pull/3495#discussion_r24862414"},"pull_request":{"href":"https://api.github.com/repos/jashkenas/backbone/pulls/3495"}}},"pull_request":{"url":"https://api.github.com/repos/jashkenas/backbone/pulls/3495","id":29377626,"html_url":"https://github.com/jashkenas/backbone/pull/3495","diff_url":"https://github.com/jashkenas/backbone/pull/3495.diff","patch_url":"https://github.com/jashkenas/backbone/pull/3495.patch","issue_url":"https://api.github.com/repos/jashkenas/backbone/issues/3495","number":3495,"state":"open","locked":false,"title":"Add documentation about collection.remove `models` arg.","user":{"login":"jmm","id":129203,"avatar_url":"https://avatars.githubusercontent.com/u/129203?v=3","gravatar_id":"","url":"https://api.github.com/users/jmm","html_url":"https://github.com/jmm","followers_url":"https://api.github.com/users/jmm/followers","following_url":"https://api.github.com/users/jmm/following{/other_user}","gists_url":"https://api.github.com/users/jmm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmm/subscriptions","organizations_url":"https://api.github.com/users/jmm/orgs","repos_url":"https://api.github.com/users/jmm/repos","events_url":"https://api.github.com/users/jmm/events{/privacy}","received_events_url":"https://api.github.com/users/jmm/received_events","type":"User","site_admin":false},"body":"Fix #3494.","created_at":"2015-02-16T14:46:36Z","updated_at":"2015-02-17T22:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a516fffd35055f5e6eb801c33fb000f523432f4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jashkenas/backbone/pulls/3495/commits","review_comments_url":"https://api.github.com/repos/jashkenas/backbone/pulls/3495/comments","review_comment_url":"https://api.github.com/repos/jashkenas/backbone/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jashkenas/backbone/issues/3495/comments","statuses_url":"https://api.github.com/repos/jashkenas/backbone/statuses/73701629388a2c48af46793e947046e80b6b413a","head":{"label":"jmm:jmm/collection-remove","ref":"jmm/collection-remove","sha":"73701629388a2c48af46793e947046e80b6b413a","user":{"login":"jmm","id":129203,"avatar_url":"https://avatars.githubusercontent.com/u/129203?v=3","gravatar_id":"","url":"https://api.github.com/users/jmm","html_url":"https://github.com/jmm","followers_url":"https://api.github.com/users/jmm/followers","following_url":"https://api.github.com/users/jmm/following{/other_user}","gists_url":"https://api.github.com/users/jmm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmm/subscriptions","organizations_url":"https://api.github.com/users/jmm/orgs","repos_url":"https://api.github.com/users/jmm/repos","events_url":"https://api.github.com/users/jmm/events{/privacy}","received_events_url":"https://api.github.com/users/jmm/received_events","type":"User","site_admin":false},"repo":{"id":4499920,"name":"backbone","full_name":"jmm/backbone","owner":{"login":"jmm","id":129203,"avatar_url":"https://avatars.githubusercontent.com/u/129203?v=3","gravatar_id":"","url":"https://api.github.com/users/jmm","html_url":"https://github.com/jmm","followers_url":"https://api.github.com/users/jmm/followers","following_url":"https://api.github.com/users/jmm/following{/other_user}","gists_url":"https://api.github.com/users/jmm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmm/subscriptions","organizations_url":"https://api.github.com/users/jmm/orgs","repos_url":"https://api.github.com/users/jmm/repos","events_url":"https://api.github.com/users/jmm/events{/privacy}","received_events_url":"https://api.github.com/users/jmm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmm/backbone","description":"Give your JS App some Backbone with Models, Views, Collections, and Events","fork":true,"url":"https://api.github.com/repos/jmm/backbone","forks_url":"https://api.github.com/repos/jmm/backbone/forks","keys_url":"https://api.github.com/repos/jmm/backbone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmm/backbone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmm/backbone/teams","hooks_url":"https://api.github.com/repos/jmm/backbone/hooks","issue_events_url":"https://api.github.com/repos/jmm/backbone/issues/events{/number}","events_url":"https://api.github.com/repos/jmm/backbone/events","assignees_url":"https://api.github.com/repos/jmm/backbone/assignees{/user}","branches_url":"https://api.github.com/repos/jmm/backbone/branches{/branch}","tags_url":"https://api.github.com/repos/jmm/backbone/tags","blobs_url":"https://api.github.com/repos/jmm/backbone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmm/backbone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmm/backbone/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmm/backbone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmm/backbone/statuses/{sha}","languages_url":"https://api.github.com/repos/jmm/backbone/languages","stargazers_url":"https://api.github.com/repos/jmm/backbone/stargazers","contributors_url":"https://api.github.com/repos/jmm/backbone/contributors","subscribers_url":"https://api.github.com/repos/jmm/backbone/subscribers","subscription_url":"https://api.github.com/repos/jmm/backbone/subscription","commits_url":"https://api.github.com/repos/jmm/backbone/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmm/backbone/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmm/backbone/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmm/backbone/issues/comments/{number}","contents_url":"https://api.github.com/repos/jmm/backbone/contents/{+path}","compare_url":"https://api.github.com/repos/jmm/backbone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmm/backbone/merges","archive_url":"https://api.github.com/repos/jmm/backbone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmm/backbone/downloads","issues_url":"https://api.github.com/repos/jmm/backbone/issues{/number}","pulls_url":"https://api.github.com/repos/jmm/backbone/pulls{/number}","milestones_url":"https://api.github.com/repos/jmm/backbone/milestones{/number}","notifications_url":"https://api.github.com/repos/jmm/backbone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmm/backbone/labels{/name}","releases_url":"https://api.github.com/repos/jmm/backbone/releases{/id}","created_at":"2012-05-30T20:27:11Z","updated_at":"2013-01-09T10:44:58Z","pushed_at":"2015-02-16T14:45:35Z","git_url":"git://github.com/jmm/backbone.git","ssh_url":"git@github.com:jmm/backbone.git","clone_url":"https://github.com/jmm/backbone.git","svn_url":"https://github.com/jmm/backbone","homepage":"http://backbonejs.org","size":24971,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"jashkenas:master","ref":"master","sha":"0b2835f7fc479d7f2a6ebe4442d33aac5d38f86b","user":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars.githubusercontent.com/u/4732?v=3","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"repo":{"id":952189,"name":"backbone","full_name":"jashkenas/backbone","owner":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars.githubusercontent.com/u/4732?v=3","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jashkenas/backbone","description":"Give your JS App some Backbone with Models, Views, Collections, and Events","fork":false,"url":"https://api.github.com/repos/jashkenas/backbone","forks_url":"https://api.github.com/repos/jashkenas/backbone/forks","keys_url":"https://api.github.com/repos/jashkenas/backbone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jashkenas/backbone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jashkenas/backbone/teams","hooks_url":"https://api.github.com/repos/jashkenas/backbone/hooks","issue_events_url":"https://api.github.com/repos/jashkenas/backbone/issues/events{/number}","events_url":"https://api.github.com/repos/jashkenas/backbone/events","assignees_url":"https://api.github.com/repos/jashkenas/backbone/assignees{/user}","branches_url":"https://api.github.com/repos/jashkenas/backbone/branches{/branch}","tags_url":"https://api.github.com/repos/jashkenas/backbone/tags","blobs_url":"https://api.github.com/repos/jashkenas/backbone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jashkenas/backbone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jashkenas/backbone/git/refs{/sha}","trees_url":"https://api.github.com/repos/jashkenas/backbone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jashkenas/backbone/statuses/{sha}","languages_url":"https://api.github.com/repos/jashkenas/backbone/languages","stargazers_url":"https://api.github.com/repos/jashkenas/backbone/stargazers","contributors_url":"https://api.github.com/repos/jashkenas/backbone/contributors","subscribers_url":"https://api.github.com/repos/jashkenas/backbone/subscribers","subscription_url":"https://api.github.com/repos/jashkenas/backbone/subscription","commits_url":"https://api.github.com/repos/jashkenas/backbone/commits{/sha}","git_commits_url":"https://api.github.com/repos/jashkenas/backbone/git/commits{/sha}","comments_url":"https://api.github.com/repos/jashkenas/backbone/comments{/number}","issue_comment_url":"https://api.github.com/repos/jashkenas/backbone/issues/comments/{number}","contents_url":"https://api.github.com/repos/jashkenas/backbone/contents/{+path}","compare_url":"https://api.github.com/repos/jashkenas/backbone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jashkenas/backbone/merges","archive_url":"https://api.github.com/repos/jashkenas/backbone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jashkenas/backbone/downloads","issues_url":"https://api.github.com/repos/jashkenas/backbone/issues{/number}","pulls_url":"https://api.github.com/repos/jashkenas/backbone/pulls{/number}","milestones_url":"https://api.github.com/repos/jashkenas/backbone/milestones{/number}","notifications_url":"https://api.github.com/repos/jashkenas/backbone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jashkenas/backbone/labels{/name}","releases_url":"https://api.github.com/repos/jashkenas/backbone/releases{/id}","created_at":"2010-09-30T19:41:28Z","updated_at":"2015-02-17T22:41:47Z","pushed_at":"2015-02-17T22:41:51Z","git_url":"git://github.com/jashkenas/backbone.git","ssh_url":"git@github.com:jashkenas/backbone.git","clone_url":"https://github.com/jashkenas/backbone.git","svn_url":"https://github.com/jashkenas/backbone","homepage":"http://backbonejs.org","size":45851,"stargazers_count":20798,"watchers_count":20798,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4673,"mirror_url":null,"open_issues_count":51,"forks":4673,"open_issues":51,"watchers":20798,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jashkenas/backbone/pulls/3495"},"html":{"href":"https://github.com/jashkenas/backbone/pull/3495"},"issue":{"href":"https://api.github.com/repos/jashkenas/backbone/issues/3495"},"comments":{"href":"https://api.github.com/repos/jashkenas/backbone/issues/3495/comments"},"review_comments":{"href":"https://api.github.com/repos/jashkenas/backbone/pulls/3495/comments"},"review_comment":{"href":"https://api.github.com/repos/jashkenas/backbone/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jashkenas/backbone/pulls/3495/commits"},"statuses":{"href":"https://api.github.com/repos/jashkenas/backbone/statuses/73701629388a2c48af46793e947046e80b6b413a"}}}}