{"action":"created","comment":{"url":"https://api.github.com/repos/devSchacht/translations/pulls/comments/211605414","pull_request_review_id":148059378,"id":211605414,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTYwNTQxNA==","diff_hunk":"@@ -37,54 +37,59 @@ var vm = **new Vue**({\n \n Конструктор Vue принимает один [параметр](https://www.w3schools.com/js/js_function_parameters.asp): `options`.\n \n- ```\n+```\n  function Vue (**options**) {\n- [. . . .]\n-}\n+   [. . . .]\n+ }\n ```\n \n Конструктор так же проверяет, что текущая среда выполнения _не_  является production, используя оператор [if](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Statements/if...else):\n \n ```\n [....]\n-  **if (process.env.NODE_ENV !== 'production'** && !(this instanceof Vue)) {\n- warn('Конструктор Vue должен быть вызван с ключевым словом `new`');}\n- [....]\n+**if (process.env.NODE_ENV !== 'production'** && !(this instanceof Vue)) {\n+  warn('Конструктор Vue должен быть вызван с ключевым словом `new`');\n+}\n+[....]\n ```\n Если текущая среда выполнения production, благодаря быстрой оценке выражений (short-circuit) оператора `&&`, если первое выражение `false`, остальная часть не вычисляется.\n \n Если же текущая среда development, конструктор проверяет что `this` не является экземпляром Vue с помощью [оператора](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Operators/instanceof)  `instanceof`\n \n ```\n [....]\n-  if (process.env.NODE_ENV !== 'production' && **!(this instanceof Vue**)) {\n- warn('Конструктор Vue должен быть вызван с ключевым словом `new`'); } [....]\n+if (process.env.NODE_ENV !== 'production' && **!(this instanceof Vue**)) {\n+  warn('Конструктор Vue должен быть вызван с ключевым словом `new`');","path":"articles/a-deep-dive-in-the-vuejs-source-code/README.md","position":null,"original_position":68,"commit_id":"8872a0046ad78bc5a01cf09581141095f24fd44d","original_commit_id":"8872a0046ad78bc5a01cf09581141095f24fd44d","user":{"login":"lex111","id":4408379,"node_id":"MDQ6VXNlcjQ0MDgzNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/4408379?v=4","gravatar_id":"","url":"https://api.github.com/users/lex111","html_url":"https://github.com/lex111","followers_url":"https://api.github.com/users/lex111/followers","following_url":"https://api.github.com/users/lex111/following{/other_user}","gists_url":"https://api.github.com/users/lex111/gists{/gist_id}","starred_url":"https://api.github.com/users/lex111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex111/subscriptions","organizations_url":"https://api.github.com/users/lex111/orgs","repos_url":"https://api.github.com/users/lex111/repos","events_url":"https://api.github.com/users/lex111/events{/privacy}","received_events_url":"https://api.github.com/users/lex111/received_events","type":"User","site_admin":false},"body":"На русском","created_at":"2018-08-21T13:31:18Z","updated_at":"2018-08-21T13:31:34Z","html_url":"https://github.com/devSchacht/translations/pull/196#discussion_r211605414","pull_request_url":"https://api.github.com/repos/devSchacht/translations/pulls/196","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/devSchacht/translations/pulls/comments/211605414"},"html":{"href":"https://github.com/devSchacht/translations/pull/196#discussion_r211605414"},"pull_request":{"href":"https://api.github.com/repos/devSchacht/translations/pulls/196"}}},"pull_request":{"url":"https://api.github.com/repos/devSchacht/translations/pulls/196","id":209768112,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NzY4MTEy","html_url":"https://github.com/devSchacht/translations/pull/196","diff_url":"https://github.com/devSchacht/translations/pull/196.diff","patch_url":"https://github.com/devSchacht/translations/pull/196.patch","issue_url":"https://api.github.com/repos/devSchacht/translations/issues/196","number":196,"state":"open","locked":false,"title":"first article from \"A deep dive in the Vue.js source code\" series","user":{"login":"vik-kod","id":26459115,"node_id":"MDQ6VXNlcjI2NDU5MTE1","avatar_url":"https://avatars3.githubusercontent.com/u/26459115?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-kod","html_url":"https://github.com/vik-kod","followers_url":"https://api.github.com/users/vik-kod/followers","following_url":"https://api.github.com/users/vik-kod/following{/other_user}","gists_url":"https://api.github.com/users/vik-kod/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-kod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-kod/subscriptions","organizations_url":"https://api.github.com/users/vik-kod/orgs","repos_url":"https://api.github.com/users/vik-kod/repos","events_url":"https://api.github.com/users/vik-kod/events{/privacy}","received_events_url":"https://api.github.com/users/vik-kod/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-21T09:47:55Z","updated_at":"2018-08-21T13:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b99ecaa7140c1aaa8e2dedfaf9d0e478deacdf8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/devSchacht/translations/pulls/196/commits","review_comments_url":"https://api.github.com/repos/devSchacht/translations/pulls/196/comments","review_comment_url":"https://api.github.com/repos/devSchacht/translations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devSchacht/translations/issues/196/comments","statuses_url":"https://api.github.com/repos/devSchacht/translations/statuses/8872a0046ad78bc5a01cf09581141095f24fd44d","head":{"label":"vik-kod:a-deep-dive-in-the-vuejs-source-code","ref":"a-deep-dive-in-the-vuejs-source-code","sha":"8872a0046ad78bc5a01cf09581141095f24fd44d","user":{"login":"vik-kod","id":26459115,"node_id":"MDQ6VXNlcjI2NDU5MTE1","avatar_url":"https://avatars3.githubusercontent.com/u/26459115?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-kod","html_url":"https://github.com/vik-kod","followers_url":"https://api.github.com/users/vik-kod/followers","following_url":"https://api.github.com/users/vik-kod/following{/other_user}","gists_url":"https://api.github.com/users/vik-kod/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-kod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-kod/subscriptions","organizations_url":"https://api.github.com/users/vik-kod/orgs","repos_url":"https://api.github.com/users/vik-kod/repos","events_url":"https://api.github.com/users/vik-kod/events{/privacy}","received_events_url":"https://api.github.com/users/vik-kod/received_events","type":"User","site_admin":false},"repo":{"id":145321589,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUzMjE1ODk=","name":"translations","full_name":"vik-kod/translations","owner":{"login":"vik-kod","id":26459115,"node_id":"MDQ6VXNlcjI2NDU5MTE1","avatar_url":"https://avatars3.githubusercontent.com/u/26459115?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-kod","html_url":"https://github.com/vik-kod","followers_url":"https://api.github.com/users/vik-kod/followers","following_url":"https://api.github.com/users/vik-kod/following{/other_user}","gists_url":"https://api.github.com/users/vik-kod/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-kod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-kod/subscriptions","organizations_url":"https://api.github.com/users/vik-kod/orgs","repos_url":"https://api.github.com/users/vik-kod/repos","events_url":"https://api.github.com/users/vik-kod/events{/privacy}","received_events_url":"https://api.github.com/users/vik-kod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vik-kod/translations","description":"Переводы от devSchacht","fork":true,"url":"https://api.github.com/repos/vik-kod/translations","forks_url":"https://api.github.com/repos/vik-kod/translations/forks","keys_url":"https://api.github.com/repos/vik-kod/translations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vik-kod/translations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vik-kod/translations/teams","hooks_url":"https://api.github.com/repos/vik-kod/translations/hooks","issue_events_url":"https://api.github.com/repos/vik-kod/translations/issues/events{/number}","events_url":"https://api.github.com/repos/vik-kod/translations/events","assignees_url":"https://api.github.com/repos/vik-kod/translations/assignees{/user}","branches_url":"https://api.github.com/repos/vik-kod/translations/branches{/branch}","tags_url":"https://api.github.com/repos/vik-kod/translations/tags","blobs_url":"https://api.github.com/repos/vik-kod/translations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vik-kod/translations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vik-kod/translations/git/refs{/sha}","trees_url":"https://api.github.com/repos/vik-kod/translations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vik-kod/translations/statuses/{sha}","languages_url":"https://api.github.com/repos/vik-kod/translations/languages","stargazers_url":"https://api.github.com/repos/vik-kod/translations/stargazers","contributors_url":"https://api.github.com/repos/vik-kod/translations/contributors","subscribers_url":"https://api.github.com/repos/vik-kod/translations/subscribers","subscription_url":"https://api.github.com/repos/vik-kod/translations/subscription","commits_url":"https://api.github.com/repos/vik-kod/translations/commits{/sha}","git_commits_url":"https://api.github.com/repos/vik-kod/translations/git/commits{/sha}","comments_url":"https://api.github.com/repos/vik-kod/translations/comments{/number}","issue_comment_url":"https://api.github.com/repos/vik-kod/translations/issues/comments{/number}","contents_url":"https://api.github.com/repos/vik-kod/translations/contents/{+path}","compare_url":"https://api.github.com/repos/vik-kod/translations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vik-kod/translations/merges","archive_url":"https://api.github.com/repos/vik-kod/translations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vik-kod/translations/downloads","issues_url":"https://api.github.com/repos/vik-kod/translations/issues{/number}","pulls_url":"https://api.github.com/repos/vik-kod/translations/pulls{/number}","milestones_url":"https://api.github.com/repos/vik-kod/translations/milestones{/number}","notifications_url":"https://api.github.com/repos/vik-kod/translations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vik-kod/translations/labels{/name}","releases_url":"https://api.github.com/repos/vik-kod/translations/releases{/id}","deployments_url":"https://api.github.com/repos/vik-kod/translations/deployments","created_at":"2018-08-19T16:56:24Z","updated_at":"2018-08-19T16:56:26Z","pushed_at":"2018-08-21T13:28:26Z","git_url":"git://github.com/vik-kod/translations.git","ssh_url":"git@github.com:vik-kod/translations.git","clone_url":"https://github.com/vik-kod/translations.git","svn_url":"https://github.com/vik-kod/translations","homepage":"https://medium.com/devschacht","size":45342,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"devSchacht:master","ref":"master","sha":"b146226bed88c54af3ea078e4b4edaa009178aba","user":{"login":"devSchacht","id":26438938,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDM4OTM4","avatar_url":"https://avatars2.githubusercontent.com/u/26438938?v=4","gravatar_id":"","url":"https://api.github.com/users/devSchacht","html_url":"https://github.com/devSchacht","followers_url":"https://api.github.com/users/devSchacht/followers","following_url":"https://api.github.com/users/devSchacht/following{/other_user}","gists_url":"https://api.github.com/users/devSchacht/gists{/gist_id}","starred_url":"https://api.github.com/users/devSchacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devSchacht/subscriptions","organizations_url":"https://api.github.com/users/devSchacht/orgs","repos_url":"https://api.github.com/users/devSchacht/repos","events_url":"https://api.github.com/users/devSchacht/events{/privacy}","received_events_url":"https://api.github.com/users/devSchacht/received_events","type":"Organization","site_admin":false},"repo":{"id":85697697,"node_id":"MDEwOlJlcG9zaXRvcnk4NTY5NzY5Nw==","name":"translations","full_name":"devSchacht/translations","owner":{"login":"devSchacht","id":26438938,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDM4OTM4","avatar_url":"https://avatars2.githubusercontent.com/u/26438938?v=4","gravatar_id":"","url":"https://api.github.com/users/devSchacht","html_url":"https://github.com/devSchacht","followers_url":"https://api.github.com/users/devSchacht/followers","following_url":"https://api.github.com/users/devSchacht/following{/other_user}","gists_url":"https://api.github.com/users/devSchacht/gists{/gist_id}","starred_url":"https://api.github.com/users/devSchacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devSchacht/subscriptions","organizations_url":"https://api.github.com/users/devSchacht/orgs","repos_url":"https://api.github.com/users/devSchacht/repos","events_url":"https://api.github.com/users/devSchacht/events{/privacy}","received_events_url":"https://api.github.com/users/devSchacht/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devSchacht/translations","description":"Переводы от devSchacht","fork":false,"url":"https://api.github.com/repos/devSchacht/translations","forks_url":"https://api.github.com/repos/devSchacht/translations/forks","keys_url":"https://api.github.com/repos/devSchacht/translations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devSchacht/translations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devSchacht/translations/teams","hooks_url":"https://api.github.com/repos/devSchacht/translations/hooks","issue_events_url":"https://api.github.com/repos/devSchacht/translations/issues/events{/number}","events_url":"https://api.github.com/repos/devSchacht/translations/events","assignees_url":"https://api.github.com/repos/devSchacht/translations/assignees{/user}","branches_url":"https://api.github.com/repos/devSchacht/translations/branches{/branch}","tags_url":"https://api.github.com/repos/devSchacht/translations/tags","blobs_url":"https://api.github.com/repos/devSchacht/translations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devSchacht/translations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devSchacht/translations/git/refs{/sha}","trees_url":"https://api.github.com/repos/devSchacht/translations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devSchacht/translations/statuses/{sha}","languages_url":"https://api.github.com/repos/devSchacht/translations/languages","stargazers_url":"https://api.github.com/repos/devSchacht/translations/stargazers","contributors_url":"https://api.github.com/repos/devSchacht/translations/contributors","subscribers_url":"https://api.github.com/repos/devSchacht/translations/subscribers","subscription_url":"https://api.github.com/repos/devSchacht/translations/subscription","commits_url":"https://api.github.com/repos/devSchacht/translations/commits{/sha}","git_commits_url":"https://api.github.com/repos/devSchacht/translations/git/commits{/sha}","comments_url":"https://api.github.com/repos/devSchacht/translations/comments{/number}","issue_comment_url":"https://api.github.com/repos/devSchacht/translations/issues/comments{/number}","contents_url":"https://api.github.com/repos/devSchacht/translations/contents/{+path}","compare_url":"https://api.github.com/repos/devSchacht/translations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devSchacht/translations/merges","archive_url":"https://api.github.com/repos/devSchacht/translations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devSchacht/translations/downloads","issues_url":"https://api.github.com/repos/devSchacht/translations/issues{/number}","pulls_url":"https://api.github.com/repos/devSchacht/translations/pulls{/number}","milestones_url":"https://api.github.com/repos/devSchacht/translations/milestones{/number}","notifications_url":"https://api.github.com/repos/devSchacht/translations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devSchacht/translations/labels{/name}","releases_url":"https://api.github.com/repos/devSchacht/translations/releases{/id}","deployments_url":"https://api.github.com/repos/devSchacht/translations/deployments","created_at":"2017-03-21T12:12:36Z","updated_at":"2018-08-20T08:01:09Z","pushed_at":"2018-08-21T13:28:27Z","git_url":"git://github.com/devSchacht/translations.git","ssh_url":"git@github.com:devSchacht/translations.git","clone_url":"https://github.com/devSchacht/translations.git","svn_url":"https://github.com/devSchacht/translations","homepage":"https://medium.com/devschacht","size":45327,"stargazers_count":520,"watchers_count":520,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":109,"open_issues":1,"watchers":520,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devSchacht/translations/pulls/196"},"html":{"href":"https://github.com/devSchacht/translations/pull/196"},"issue":{"href":"https://api.github.com/repos/devSchacht/translations/issues/196"},"comments":{"href":"https://api.github.com/repos/devSchacht/translations/issues/196/comments"},"review_comments":{"href":"https://api.github.com/repos/devSchacht/translations/pulls/196/comments"},"review_comment":{"href":"https://api.github.com/repos/devSchacht/translations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devSchacht/translations/pulls/196/commits"},"statuses":{"href":"https://api.github.com/repos/devSchacht/translations/statuses/8872a0046ad78bc5a01cf09581141095f24fd44d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lex111"}}