{"action":"created","comment":{"url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/comments/39586165","id":39586165,"diff_hunk":"@@ -139,6 +139,7 @@ Or, just pass in a custom filter function:\n ``` html\n <div v-repeat=\"user in users | filterBy myCustomFilterFunction\">\n ```\n+Where `myCustomFilterFunction` is regular `vm` method accepting three arguments `user`, `index` and `users` from the example above.","path":"source/api/filters.md","position":4,"original_position":4,"commit_id":"7e4a107b9d138297c7e260e8c24069792cf4cc31","original_commit_id":"7e4a107b9d138297c7e260e8c24069792cf4cc31","user":{"login":"yyx990803","id":499550,"avatar_url":"https://avatars.githubusercontent.com/u/499550?v=3","gravatar_id":"","url":"https://api.github.com/users/yyx990803","html_url":"https://github.com/yyx990803","followers_url":"https://api.github.com/users/yyx990803/followers","following_url":"https://api.github.com/users/yyx990803/following{/other_user}","gists_url":"https://api.github.com/users/yyx990803/gists{/gist_id}","starred_url":"https://api.github.com/users/yyx990803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyx990803/subscriptions","organizations_url":"https://api.github.com/users/yyx990803/orgs","repos_url":"https://api.github.com/users/yyx990803/repos","events_url":"https://api.github.com/users/yyx990803/events{/privacy}","received_events_url":"https://api.github.com/users/yyx990803/received_events","type":"User","site_admin":false},"body":"It probably make for sense to point out here that the method is expected to be a function that you'd pass to `Array.prototype.filter`.","created_at":"2015-09-16T01:35:24Z","updated_at":"2015-09-16T01:35:24Z","html_url":"https://github.com/vuejs/vuejs.org/pull/117#discussion_r39586165","pull_request_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/comments/39586165"},"html":{"href":"https://github.com/vuejs/vuejs.org/pull/117#discussion_r39586165"},"pull_request":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117","id":44352830,"html_url":"https://github.com/vuejs/vuejs.org/pull/117","diff_url":"https://github.com/vuejs/vuejs.org/pull/117.diff","patch_url":"https://github.com/vuejs/vuejs.org/pull/117.patch","issue_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/117","number":117,"state":"open","locked":false,"title":"Add custom filter function syntax explanation","user":{"login":"StoyanDimitrov","id":10962709,"avatar_url":"https://avatars.githubusercontent.com/u/10962709?v=3","gravatar_id":"","url":"https://api.github.com/users/StoyanDimitrov","html_url":"https://github.com/StoyanDimitrov","followers_url":"https://api.github.com/users/StoyanDimitrov/followers","following_url":"https://api.github.com/users/StoyanDimitrov/following{/other_user}","gists_url":"https://api.github.com/users/StoyanDimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/StoyanDimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoyanDimitrov/subscriptions","organizations_url":"https://api.github.com/users/StoyanDimitrov/orgs","repos_url":"https://api.github.com/users/StoyanDimitrov/repos","events_url":"https://api.github.com/users/StoyanDimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/StoyanDimitrov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-07T13:00:09Z","updated_at":"2015-09-16T01:35:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bbdcb6ad2e5a05a7172e8f0ca6a527c20d293a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117/commits","review_comments_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117/comments","review_comment_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/117/comments","statuses_url":"https://api.github.com/repos/vuejs/vuejs.org/statuses/7e4a107b9d138297c7e260e8c24069792cf4cc31","head":{"label":"StoyanDimitrov:patch-1","ref":"patch-1","sha":"7e4a107b9d138297c7e260e8c24069792cf4cc31","user":{"login":"StoyanDimitrov","id":10962709,"avatar_url":"https://avatars.githubusercontent.com/u/10962709?v=3","gravatar_id":"","url":"https://api.github.com/users/StoyanDimitrov","html_url":"https://github.com/StoyanDimitrov","followers_url":"https://api.github.com/users/StoyanDimitrov/followers","following_url":"https://api.github.com/users/StoyanDimitrov/following{/other_user}","gists_url":"https://api.github.com/users/StoyanDimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/StoyanDimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoyanDimitrov/subscriptions","organizations_url":"https://api.github.com/users/StoyanDimitrov/orgs","repos_url":"https://api.github.com/users/StoyanDimitrov/repos","events_url":"https://api.github.com/users/StoyanDimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/StoyanDimitrov/received_events","type":"User","site_admin":false},"repo":{"id":42052438,"name":"vuejs.org","full_name":"StoyanDimitrov/vuejs.org","owner":{"login":"StoyanDimitrov","id":10962709,"avatar_url":"https://avatars.githubusercontent.com/u/10962709?v=3","gravatar_id":"","url":"https://api.github.com/users/StoyanDimitrov","html_url":"https://github.com/StoyanDimitrov","followers_url":"https://api.github.com/users/StoyanDimitrov/followers","following_url":"https://api.github.com/users/StoyanDimitrov/following{/other_user}","gists_url":"https://api.github.com/users/StoyanDimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/StoyanDimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoyanDimitrov/subscriptions","organizations_url":"https://api.github.com/users/StoyanDimitrov/orgs","repos_url":"https://api.github.com/users/StoyanDimitrov/repos","events_url":"https://api.github.com/users/StoyanDimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/StoyanDimitrov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StoyanDimitrov/vuejs.org","description":"The website.","fork":true,"url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org","forks_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/forks","keys_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/teams","hooks_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/events","assignees_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/tags","blobs_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/subscription","commits_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/merges","archive_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/downloads","issues_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/StoyanDimitrov/vuejs.org/releases{/id}","created_at":"2015-09-07T12:43:39Z","updated_at":"2015-09-07T12:43:39Z","pushed_at":"2015-09-08T07:36:45Z","git_url":"git://github.com/StoyanDimitrov/vuejs.org.git","ssh_url":"git@github.com:StoyanDimitrov/vuejs.org.git","clone_url":"https://github.com/StoyanDimitrov/vuejs.org.git","svn_url":"https://github.com/StoyanDimitrov/vuejs.org","homepage":"vuejs.org","size":9143,"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":"vuejs:master","ref":"master","sha":"0c5ad8cf0d004759c42a10c73036caa34031401f","user":{"login":"vuejs","id":6128107,"avatar_url":"https://avatars.githubusercontent.com/u/6128107?v=3","gravatar_id":"","url":"https://api.github.com/users/vuejs","html_url":"https://github.com/vuejs","followers_url":"https://api.github.com/users/vuejs/followers","following_url":"https://api.github.com/users/vuejs/following{/other_user}","gists_url":"https://api.github.com/users/vuejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs/subscriptions","organizations_url":"https://api.github.com/users/vuejs/orgs","repos_url":"https://api.github.com/users/vuejs/repos","events_url":"https://api.github.com/users/vuejs/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs/received_events","type":"Organization","site_admin":false},"repo":{"id":15644594,"name":"vuejs.org","full_name":"vuejs/vuejs.org","owner":{"login":"vuejs","id":6128107,"avatar_url":"https://avatars.githubusercontent.com/u/6128107?v=3","gravatar_id":"","url":"https://api.github.com/users/vuejs","html_url":"https://github.com/vuejs","followers_url":"https://api.github.com/users/vuejs/followers","following_url":"https://api.github.com/users/vuejs/following{/other_user}","gists_url":"https://api.github.com/users/vuejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs/subscriptions","organizations_url":"https://api.github.com/users/vuejs/orgs","repos_url":"https://api.github.com/users/vuejs/repos","events_url":"https://api.github.com/users/vuejs/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vuejs/vuejs.org","description":"The website.","fork":false,"url":"https://api.github.com/repos/vuejs/vuejs.org","forks_url":"https://api.github.com/repos/vuejs/vuejs.org/forks","keys_url":"https://api.github.com/repos/vuejs/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuejs/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuejs/vuejs.org/teams","hooks_url":"https://api.github.com/repos/vuejs/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/vuejs/vuejs.org/events","assignees_url":"https://api.github.com/repos/vuejs/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/vuejs/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/vuejs/vuejs.org/tags","blobs_url":"https://api.github.com/repos/vuejs/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuejs/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuejs/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuejs/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuejs/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/vuejs/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/vuejs/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/vuejs/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/vuejs/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/vuejs/vuejs.org/subscription","commits_url":"https://api.github.com/repos/vuejs/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuejs/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuejs/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuejs/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/vuejs/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuejs/vuejs.org/merges","archive_url":"https://api.github.com/repos/vuejs/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuejs/vuejs.org/downloads","issues_url":"https://api.github.com/repos/vuejs/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/vuejs/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/vuejs/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuejs/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/vuejs/vuejs.org/releases{/id}","created_at":"2014-01-05T03:11:14Z","updated_at":"2015-09-15T01:27:25Z","pushed_at":"2015-09-16T01:34:13Z","git_url":"git://github.com/vuejs/vuejs.org.git","ssh_url":"git@github.com:vuejs/vuejs.org.git","clone_url":"https://github.com/vuejs/vuejs.org.git","svn_url":"https://github.com/vuejs/vuejs.org","homepage":"vuejs.org","size":11512,"stargazers_count":164,"watchers_count":164,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":181,"mirror_url":null,"open_issues_count":10,"forks":181,"open_issues":10,"watchers":164,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117"},"html":{"href":"https://github.com/vuejs/vuejs.org/pull/117"},"issue":{"href":"https://api.github.com/repos/vuejs/vuejs.org/issues/117"},"comments":{"href":"https://api.github.com/repos/vuejs/vuejs.org/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/vuejs/vuejs.org/statuses/7e4a107b9d138297c7e260e8c24069792cf4cc31"}}}}