{"action":"created","comment":{"url":"https://api.github.com/repos/hayeah/vuejs.org/pulls/comments/81138243","pull_request_review_id":2139580,"id":81138243,"diff_hunk":"@@ -559,130 +559,187 @@ type: api\n     - [Render Functions](/guide/render-function)\n \n ## Options / Lifecycle Hooks\n+## 选项 / 生命周期钩子\n \n ### beforeCreate\n \n - **Type:** `Function`\n+- **类型:** `Function`\n \n - **Details:**\n+- **详细:**\n \n   Called synchronously after the instance has just been initialized, before data observation and event/watcher setup.\n+  在实例开始初始化时同步调用。此时数据观察，事件和 watcher 都尚未初始化。","path":"src/api/index.md","position":15,"original_position":15,"commit_id":"ed6e982099bb06687b335a70cd992221e7cd497c","original_commit_id":"ed6e982099bb06687b335a70cd992221e7cd497c","user":{"login":"hayeah","id":50120,"avatar_url":"https://avatars.githubusercontent.com/u/50120?v=3","gravatar_id":"","url":"https://api.github.com/users/hayeah","html_url":"https://github.com/hayeah","followers_url":"https://api.github.com/users/hayeah/followers","following_url":"https://api.github.com/users/hayeah/following{/other_user}","gists_url":"https://api.github.com/users/hayeah/gists{/gist_id}","starred_url":"https://api.github.com/users/hayeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayeah/subscriptions","organizations_url":"https://api.github.com/users/hayeah/orgs","repos_url":"https://api.github.com/users/hayeah/repos","events_url":"https://api.github.com/users/hayeah/events{/privacy}","received_events_url":"https://api.github.com/users/hayeah/received_events","type":"User","site_admin":false},"body":"为何 event 翻译 watcher 不翻译？","created_at":"2016-09-29T13:39:57Z","updated_at":"2016-09-29T13:39:57Z","html_url":"https://github.com/hayeah/vuejs.org/pull/56#discussion_r81138243","pull_request_url":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/hayeah/vuejs.org/pulls/comments/81138243"},"html":{"href":"https://github.com/hayeah/vuejs.org/pull/56#discussion_r81138243"},"pull_request":{"href":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56","id":86876080,"html_url":"https://github.com/hayeah/vuejs.org/pull/56","diff_url":"https://github.com/hayeah/vuejs.org/pull/56.diff","patch_url":"https://github.com/hayeah/vuejs.org/pull/56.patch","issue_url":"https://api.github.com/repos/hayeah/vuejs.org/issues/56","number":56,"state":"open","locked":false,"title":"Trans options lifecyclehooks","user":{"login":"milkmeowo","id":22437128,"avatar_url":"https://avatars.githubusercontent.com/u/22437128?v=3","gravatar_id":"","url":"https://api.github.com/users/milkmeowo","html_url":"https://github.com/milkmeowo","followers_url":"https://api.github.com/users/milkmeowo/followers","following_url":"https://api.github.com/users/milkmeowo/following{/other_user}","gists_url":"https://api.github.com/users/milkmeowo/gists{/gist_id}","starred_url":"https://api.github.com/users/milkmeowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milkmeowo/subscriptions","organizations_url":"https://api.github.com/users/milkmeowo/orgs","repos_url":"https://api.github.com/users/milkmeowo/repos","events_url":"https://api.github.com/users/milkmeowo/events{/privacy}","received_events_url":"https://api.github.com/users/milkmeowo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-27T07:35:28Z","updated_at":"2016-09-29T13:46:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebf8911f2ad2f9a03829f35f29378512053f6689","assignee":{"login":"egoist","id":8784712,"avatar_url":"https://avatars.githubusercontent.com/u/8784712?v=3","gravatar_id":"","url":"https://api.github.com/users/egoist","html_url":"https://github.com/egoist","followers_url":"https://api.github.com/users/egoist/followers","following_url":"https://api.github.com/users/egoist/following{/other_user}","gists_url":"https://api.github.com/users/egoist/gists{/gist_id}","starred_url":"https://api.github.com/users/egoist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egoist/subscriptions","organizations_url":"https://api.github.com/users/egoist/orgs","repos_url":"https://api.github.com/users/egoist/repos","events_url":"https://api.github.com/users/egoist/events{/privacy}","received_events_url":"https://api.github.com/users/egoist/received_events","type":"User","site_admin":false},"assignees":[{"login":"egoist","id":8784712,"avatar_url":"https://avatars.githubusercontent.com/u/8784712?v=3","gravatar_id":"","url":"https://api.github.com/users/egoist","html_url":"https://github.com/egoist","followers_url":"https://api.github.com/users/egoist/followers","following_url":"https://api.github.com/users/egoist/following{/other_user}","gists_url":"https://api.github.com/users/egoist/gists{/gist_id}","starred_url":"https://api.github.com/users/egoist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egoist/subscriptions","organizations_url":"https://api.github.com/users/egoist/orgs","repos_url":"https://api.github.com/users/egoist/repos","events_url":"https://api.github.com/users/egoist/events{/privacy}","received_events_url":"https://api.github.com/users/egoist/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56/commits","review_comments_url":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56/comments","review_comment_url":"https://api.github.com/repos/hayeah/vuejs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hayeah/vuejs.org/issues/56/comments","statuses_url":"https://api.github.com/repos/hayeah/vuejs.org/statuses/ed6e982099bb06687b335a70cd992221e7cd497c","head":{"label":"milkmeowo:trans-options-lifecyclehooks","ref":"trans-options-lifecyclehooks","sha":"ed6e982099bb06687b335a70cd992221e7cd497c","user":{"login":"milkmeowo","id":22437128,"avatar_url":"https://avatars.githubusercontent.com/u/22437128?v=3","gravatar_id":"","url":"https://api.github.com/users/milkmeowo","html_url":"https://github.com/milkmeowo","followers_url":"https://api.github.com/users/milkmeowo/followers","following_url":"https://api.github.com/users/milkmeowo/following{/other_user}","gists_url":"https://api.github.com/users/milkmeowo/gists{/gist_id}","starred_url":"https://api.github.com/users/milkmeowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milkmeowo/subscriptions","organizations_url":"https://api.github.com/users/milkmeowo/orgs","repos_url":"https://api.github.com/users/milkmeowo/repos","events_url":"https://api.github.com/users/milkmeowo/events{/privacy}","received_events_url":"https://api.github.com/users/milkmeowo/received_events","type":"User","site_admin":false},"repo":{"id":69206089,"name":"vuejs.org","full_name":"milkmeowo/vuejs.org","owner":{"login":"milkmeowo","id":22437128,"avatar_url":"https://avatars.githubusercontent.com/u/22437128?v=3","gravatar_id":"","url":"https://api.github.com/users/milkmeowo","html_url":"https://github.com/milkmeowo","followers_url":"https://api.github.com/users/milkmeowo/followers","following_url":"https://api.github.com/users/milkmeowo/following{/other_user}","gists_url":"https://api.github.com/users/milkmeowo/gists{/gist_id}","starred_url":"https://api.github.com/users/milkmeowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milkmeowo/subscriptions","organizations_url":"https://api.github.com/users/milkmeowo/orgs","repos_url":"https://api.github.com/users/milkmeowo/repos","events_url":"https://api.github.com/users/milkmeowo/events{/privacy}","received_events_url":"https://api.github.com/users/milkmeowo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milkmeowo/vuejs.org","description":"The website.","fork":true,"url":"https://api.github.com/repos/milkmeowo/vuejs.org","forks_url":"https://api.github.com/repos/milkmeowo/vuejs.org/forks","keys_url":"https://api.github.com/repos/milkmeowo/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milkmeowo/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milkmeowo/vuejs.org/teams","hooks_url":"https://api.github.com/repos/milkmeowo/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/milkmeowo/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/milkmeowo/vuejs.org/events","assignees_url":"https://api.github.com/repos/milkmeowo/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/milkmeowo/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/milkmeowo/vuejs.org/tags","blobs_url":"https://api.github.com/repos/milkmeowo/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milkmeowo/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milkmeowo/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/milkmeowo/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milkmeowo/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/milkmeowo/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/milkmeowo/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/milkmeowo/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/milkmeowo/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/milkmeowo/vuejs.org/subscription","commits_url":"https://api.github.com/repos/milkmeowo/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/milkmeowo/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/milkmeowo/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/milkmeowo/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/milkmeowo/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/milkmeowo/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milkmeowo/vuejs.org/merges","archive_url":"https://api.github.com/repos/milkmeowo/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milkmeowo/vuejs.org/downloads","issues_url":"https://api.github.com/repos/milkmeowo/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/milkmeowo/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/milkmeowo/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/milkmeowo/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milkmeowo/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/milkmeowo/vuejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/milkmeowo/vuejs.org/deployments","created_at":"2016-09-26T02:36:20Z","updated_at":"2016-09-26T02:36:22Z","pushed_at":"2016-09-29T08:04:58Z","git_url":"git://github.com/milkmeowo/vuejs.org.git","ssh_url":"git@github.com:milkmeowo/vuejs.org.git","clone_url":"https://github.com/milkmeowo/vuejs.org.git","svn_url":"https://github.com/milkmeowo/vuejs.org","homepage":"vuejs.org","size":19746,"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":"lang-zh-2.0"}},"base":{"label":"hayeah:lang-zh-2.0","ref":"lang-zh-2.0","sha":"de2a31ed8bc5f322d7f0cb696447ffd64ce0d0f1","user":{"login":"hayeah","id":50120,"avatar_url":"https://avatars.githubusercontent.com/u/50120?v=3","gravatar_id":"","url":"https://api.github.com/users/hayeah","html_url":"https://github.com/hayeah","followers_url":"https://api.github.com/users/hayeah/followers","following_url":"https://api.github.com/users/hayeah/following{/other_user}","gists_url":"https://api.github.com/users/hayeah/gists{/gist_id}","starred_url":"https://api.github.com/users/hayeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayeah/subscriptions","organizations_url":"https://api.github.com/users/hayeah/orgs","repos_url":"https://api.github.com/users/hayeah/repos","events_url":"https://api.github.com/users/hayeah/events{/privacy}","received_events_url":"https://api.github.com/users/hayeah/received_events","type":"User","site_admin":false},"repo":{"id":68792625,"name":"vuejs.org","full_name":"hayeah/vuejs.org","owner":{"login":"hayeah","id":50120,"avatar_url":"https://avatars.githubusercontent.com/u/50120?v=3","gravatar_id":"","url":"https://api.github.com/users/hayeah","html_url":"https://github.com/hayeah","followers_url":"https://api.github.com/users/hayeah/followers","following_url":"https://api.github.com/users/hayeah/following{/other_user}","gists_url":"https://api.github.com/users/hayeah/gists{/gist_id}","starred_url":"https://api.github.com/users/hayeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayeah/subscriptions","organizations_url":"https://api.github.com/users/hayeah/orgs","repos_url":"https://api.github.com/users/hayeah/repos","events_url":"https://api.github.com/users/hayeah/events{/privacy}","received_events_url":"https://api.github.com/users/hayeah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hayeah/vuejs.org","description":"The website.","fork":true,"url":"https://api.github.com/repos/hayeah/vuejs.org","forks_url":"https://api.github.com/repos/hayeah/vuejs.org/forks","keys_url":"https://api.github.com/repos/hayeah/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hayeah/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hayeah/vuejs.org/teams","hooks_url":"https://api.github.com/repos/hayeah/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/hayeah/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/hayeah/vuejs.org/events","assignees_url":"https://api.github.com/repos/hayeah/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/hayeah/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/hayeah/vuejs.org/tags","blobs_url":"https://api.github.com/repos/hayeah/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hayeah/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hayeah/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/hayeah/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hayeah/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/hayeah/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/hayeah/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/hayeah/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/hayeah/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/hayeah/vuejs.org/subscription","commits_url":"https://api.github.com/repos/hayeah/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/hayeah/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/hayeah/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/hayeah/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/hayeah/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/hayeah/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hayeah/vuejs.org/merges","archive_url":"https://api.github.com/repos/hayeah/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hayeah/vuejs.org/downloads","issues_url":"https://api.github.com/repos/hayeah/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/hayeah/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/hayeah/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/hayeah/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hayeah/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/hayeah/vuejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/hayeah/vuejs.org/deployments","created_at":"2016-09-21T07:42:05Z","updated_at":"2016-09-28T13:30:03Z","pushed_at":"2016-09-29T08:06:23Z","git_url":"git://github.com/hayeah/vuejs.org.git","ssh_url":"git@github.com:hayeah/vuejs.org.git","clone_url":"https://github.com/hayeah/vuejs.org.git","svn_url":"https://github.com/hayeah/vuejs.org","homepage":"vuejs.org","size":19784,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":48,"forks":8,"open_issues":48,"watchers":9,"default_branch":"lang-zh-2.0"}},"_links":{"self":{"href":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56"},"html":{"href":"https://github.com/hayeah/vuejs.org/pull/56"},"issue":{"href":"https://api.github.com/repos/hayeah/vuejs.org/issues/56"},"comments":{"href":"https://api.github.com/repos/hayeah/vuejs.org/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/hayeah/vuejs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hayeah/vuejs.org/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/hayeah/vuejs.org/statuses/ed6e982099bb06687b335a70cd992221e7cd497c"}}}}
{"actor":{"display_login":"hayeah"}}