{"action":"created","comment":{"url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/comments/57370505","id":57370505,"diff_hunk":"@@ -277,8 +277,50 @@ Vue.directive('my-directive', {\n \n Use this wisely though, because in general you want to avoid side-effects in your templates.\n \n+### terminal\n+\n+In some cases, we may want to used as the **terminal** directives. For example, you may want to perform custom directive than normal directive like `v-if` or `v-for`. If you want to do so, you need to pass in `terminal: true` in your directive definition.","path":"src/guide/custom-directive.md","position":6,"original_position":6,"commit_id":"5b355b9eeb4203e54961021eba2010b877a1e03a","original_commit_id":"5b355b9eeb4203e54961021eba2010b877a1e03a","user":{"login":"fullfs","id":8308691,"avatar_url":"https://avatars.githubusercontent.com/u/8308691?v=3","gravatar_id":"","url":"https://api.github.com/users/fullfs","html_url":"https://github.com/fullfs","followers_url":"https://api.github.com/users/fullfs/followers","following_url":"https://api.github.com/users/fullfs/following{/other_user}","gists_url":"https://api.github.com/users/fullfs/gists{/gist_id}","starred_url":"https://api.github.com/users/fullfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullfs/subscriptions","organizations_url":"https://api.github.com/users/fullfs/orgs","repos_url":"https://api.github.com/users/fullfs/repos","events_url":"https://api.github.com/users/fullfs/events{/privacy}","received_events_url":"https://api.github.com/users/fullfs/received_events","type":"User","site_admin":false},"body":"Can't get it ) What is terminal directive? How is it different from non-terminal one? Why would I want to make a terminal? \r\nTbh I don't know myself what it is and can't understand it from the text )","created_at":"2016-03-24T19:01:59Z","updated_at":"2016-03-24T19:01:59Z","html_url":"https://github.com/vuejs/vuejs.org/pull/258#discussion_r57370505","pull_request_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258","_links":{"self":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/comments/57370505"},"html":{"href":"https://github.com/vuejs/vuejs.org/pull/258#discussion_r57370505"},"pull_request":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258"}}},"pull_request":{"url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258","id":64047298,"html_url":"https://github.com/vuejs/vuejs.org/pull/258","diff_url":"https://github.com/vuejs/vuejs.org/pull/258.diff","patch_url":"https://github.com/vuejs/vuejs.org/pull/258.patch","issue_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/258","number":258,"state":"open","locked":false,"title":"Add terminal directive explanation","user":{"login":"kazupon","id":72989,"avatar_url":"https://avatars.githubusercontent.com/u/72989?v=3","gravatar_id":"","url":"https://api.github.com/users/kazupon","html_url":"https://github.com/kazupon","followers_url":"https://api.github.com/users/kazupon/followers","following_url":"https://api.github.com/users/kazupon/following{/other_user}","gists_url":"https://api.github.com/users/kazupon/gists{/gist_id}","starred_url":"https://api.github.com/users/kazupon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazupon/subscriptions","organizations_url":"https://api.github.com/users/kazupon/orgs","repos_url":"https://api.github.com/users/kazupon/repos","events_url":"https://api.github.com/users/kazupon/events{/privacy}","received_events_url":"https://api.github.com/users/kazupon/received_events","type":"User","site_admin":false},"body":"See:\r\nhttps://github.com/vuejs/vue/pull/2272\r\n","created_at":"2016-03-24T15:06:44Z","updated_at":"2016-03-24T19:01:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"204d82be9802aaf8fe4be1c9b518159eece0aa0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258/commits","review_comments_url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258/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/258/comments","statuses_url":"https://api.github.com/repos/vuejs/vuejs.org/statuses/5b355b9eeb4203e54961021eba2010b877a1e03a","head":{"label":"kazupon:terminal-params","ref":"terminal-params","sha":"5b355b9eeb4203e54961021eba2010b877a1e03a","user":{"login":"kazupon","id":72989,"avatar_url":"https://avatars.githubusercontent.com/u/72989?v=3","gravatar_id":"","url":"https://api.github.com/users/kazupon","html_url":"https://github.com/kazupon","followers_url":"https://api.github.com/users/kazupon/followers","following_url":"https://api.github.com/users/kazupon/following{/other_user}","gists_url":"https://api.github.com/users/kazupon/gists{/gist_id}","starred_url":"https://api.github.com/users/kazupon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazupon/subscriptions","organizations_url":"https://api.github.com/users/kazupon/orgs","repos_url":"https://api.github.com/users/kazupon/repos","events_url":"https://api.github.com/users/kazupon/events{/privacy}","received_events_url":"https://api.github.com/users/kazupon/received_events","type":"User","site_admin":false},"repo":{"id":31699006,"name":"vuejs.org","full_name":"kazupon/vuejs.org","owner":{"login":"kazupon","id":72989,"avatar_url":"https://avatars.githubusercontent.com/u/72989?v=3","gravatar_id":"","url":"https://api.github.com/users/kazupon","html_url":"https://github.com/kazupon","followers_url":"https://api.github.com/users/kazupon/followers","following_url":"https://api.github.com/users/kazupon/following{/other_user}","gists_url":"https://api.github.com/users/kazupon/gists{/gist_id}","starred_url":"https://api.github.com/users/kazupon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazupon/subscriptions","organizations_url":"https://api.github.com/users/kazupon/orgs","repos_url":"https://api.github.com/users/kazupon/repos","events_url":"https://api.github.com/users/kazupon/events{/privacy}","received_events_url":"https://api.github.com/users/kazupon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kazupon/vuejs.org","description":"The website.","fork":true,"url":"https://api.github.com/repos/kazupon/vuejs.org","forks_url":"https://api.github.com/repos/kazupon/vuejs.org/forks","keys_url":"https://api.github.com/repos/kazupon/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kazupon/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kazupon/vuejs.org/teams","hooks_url":"https://api.github.com/repos/kazupon/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/kazupon/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/kazupon/vuejs.org/events","assignees_url":"https://api.github.com/repos/kazupon/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/kazupon/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/kazupon/vuejs.org/tags","blobs_url":"https://api.github.com/repos/kazupon/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kazupon/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kazupon/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/kazupon/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kazupon/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/kazupon/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/kazupon/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/kazupon/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/kazupon/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/kazupon/vuejs.org/subscription","commits_url":"https://api.github.com/repos/kazupon/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/kazupon/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/kazupon/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/kazupon/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/kazupon/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/kazupon/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kazupon/vuejs.org/merges","archive_url":"https://api.github.com/repos/kazupon/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kazupon/vuejs.org/downloads","issues_url":"https://api.github.com/repos/kazupon/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/kazupon/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/kazupon/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/kazupon/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kazupon/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/kazupon/vuejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/kazupon/vuejs.org/deployments","created_at":"2015-03-05T06:17:54Z","updated_at":"2015-03-05T06:17:54Z","pushed_at":"2016-03-24T15:02:59Z","git_url":"git://github.com/kazupon/vuejs.org.git","ssh_url":"git@github.com:kazupon/vuejs.org.git","clone_url":"https://github.com/kazupon/vuejs.org.git","svn_url":"https://github.com/kazupon/vuejs.org","homepage":"vuejs.org","size":14778,"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":"vuejs:master","ref":"master","sha":"c43d25caada7eac2c53096cb6ead8c3fec70e3c8","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}","deployments_url":"https://api.github.com/repos/vuejs/vuejs.org/deployments","created_at":"2014-01-05T03:11:14Z","updated_at":"2016-03-24T01:44:04Z","pushed_at":"2016-03-24T18:54:38Z","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":20225,"stargazers_count":330,"watchers_count":330,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":279,"mirror_url":null,"open_issues_count":9,"forks":279,"open_issues":9,"watchers":330,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258"},"html":{"href":"https://github.com/vuejs/vuejs.org/pull/258"},"issue":{"href":"https://api.github.com/repos/vuejs/vuejs.org/issues/258"},"comments":{"href":"https://api.github.com/repos/vuejs/vuejs.org/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/vuejs/vuejs.org/pulls/258/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/258/commits"},"statuses":{"href":"https://api.github.com/repos/vuejs/vuejs.org/statuses/5b355b9eeb4203e54961021eba2010b877a1e03a"}}}}