{"action":"created","comment":{"url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/comments/84673769","pull_request_review_id":5435509,"id":84673769,"diff_hunk":"@@ -0,0 +1,86 @@\n+(function () {\n+    // import\n+    const Button = window.Button;\n+    const View = window.View;\n+    const AbouTeamView = window.AbouTeamView;\n+\n+    class MainView extends View {\n+        constructor(options = {}) {\n+            super(options);\n+            console.log('mainView');\n+            this.team = new AbouTeamView();\n+            this._el = document.querySelector('.main_container_view');\n+            this.createElements();\n+            this.addElements();\n+            this.addListeners();\n+            this.hide();\n+        }\n+\n+        createElements() {\n+            this.buttons = new Button({\n+                el: document.createElement('div'),\n+                classAttrs: ['ui', 'large', 'buttons'],\n+            });\n+\n+            this.buttonLogin = new Button({\n+                el: document.createElement('button'),\n+                classAttrs: ['ui', 'button', 'login', 'pink'],\n+                text: 'Логин',\n+            });\n+\n+            this.buttonOr = new Button({\n+                el: document.createElement('div'),\n+                classAttrs: ['or'],\n+            });\n+\n+            this.buttonRegister = new Button({\n+                el: document.createElement('button'),\n+                classAttrs: ['ui', 'button', 'register', 'pink'],\n+                text: 'Регистрация',\n+            });\n+        }\n+\n+        addElements() {\n+            this._el.innerHTML = this.menuIcon();\n+            this._el.appendChild(this.buttons.el);\n+            this.buttons.el.appendChild(this.buttonLogin.el);\n+            this.buttons.el.appendChild(this.buttonOr.el);\n+            this.buttons.el.appendChild(this.buttonRegister.el);","path":"public/views/mainView.js","position":48,"original_position":48,"commit_id":"f92775d06b4ae114ed9d34048400fdeccaf86327","original_commit_id":"f745d38b34a02c8a150dd523889988ea1a4e1144","user":{"login":"avtyul","id":14788245,"avatar_url":"https://avatars.githubusercontent.com/u/14788245?v=3","gravatar_id":"","url":"https://api.github.com/users/avtyul","html_url":"https://github.com/avtyul","followers_url":"https://api.github.com/users/avtyul/followers","following_url":"https://api.github.com/users/avtyul/following{/other_user}","gists_url":"https://api.github.com/users/avtyul/gists{/gist_id}","starred_url":"https://api.github.com/users/avtyul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avtyul/subscriptions","organizations_url":"https://api.github.com/users/avtyul/orgs","repos_url":"https://api.github.com/users/avtyul/repos","events_url":"https://api.github.com/users/avtyul/events{/privacy}","received_events_url":"https://api.github.com/users/avtyul/received_events","type":"User","site_admin":false},"body":"Don't repeat yourself (c)","created_at":"2016-10-24T12:15:57Z","updated_at":"2016-10-24T12:15:58Z","html_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404/pull/13#discussion_r84673769","pull_request_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/comments/84673769"},"html":{"href":"https://github.com/frontend-park-mail-ru/2016_2_Brain404/pull/13#discussion_r84673769"},"pull_request":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13","id":89699338,"html_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404/pull/13","diff_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404/pull/13.diff","patch_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404/pull/13.patch","issue_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues/13","number":13,"state":"open","locked":false,"title":"РК2","user":{"login":"IliaBulavintsev","id":14319628,"avatar_url":"https://avatars.githubusercontent.com/u/14319628?v=3","gravatar_id":"","url":"https://api.github.com/users/IliaBulavintsev","html_url":"https://github.com/IliaBulavintsev","followers_url":"https://api.github.com/users/IliaBulavintsev/followers","following_url":"https://api.github.com/users/IliaBulavintsev/following{/other_user}","gists_url":"https://api.github.com/users/IliaBulavintsev/gists{/gist_id}","starred_url":"https://api.github.com/users/IliaBulavintsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IliaBulavintsev/subscriptions","organizations_url":"https://api.github.com/users/IliaBulavintsev/orgs","repos_url":"https://api.github.com/users/IliaBulavintsev/repos","events_url":"https://api.github.com/users/IliaBulavintsev/events{/privacy}","received_events_url":"https://api.github.com/users/IliaBulavintsev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-17T20:44:57Z","updated_at":"2016-10-24T12:15:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"103a263e189fbd2718351543730317a5f5d53998","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13/commits","review_comments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13/comments","review_comment_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues/13/comments","statuses_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/statuses/f92775d06b4ae114ed9d34048400fdeccaf86327","head":{"label":"Brain404:master","ref":"master","sha":"f92775d06b4ae114ed9d34048400fdeccaf86327","user":{"login":"Brain404","id":22085892,"avatar_url":"https://avatars.githubusercontent.com/u/22085892?v=3","gravatar_id":"","url":"https://api.github.com/users/Brain404","html_url":"https://github.com/Brain404","followers_url":"https://api.github.com/users/Brain404/followers","following_url":"https://api.github.com/users/Brain404/following{/other_user}","gists_url":"https://api.github.com/users/Brain404/gists{/gist_id}","starred_url":"https://api.github.com/users/Brain404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brain404/subscriptions","organizations_url":"https://api.github.com/users/Brain404/orgs","repos_url":"https://api.github.com/users/Brain404/repos","events_url":"https://api.github.com/users/Brain404/events{/privacy}","received_events_url":"https://api.github.com/users/Brain404/received_events","type":"Organization","site_admin":false},"repo":{"id":67741222,"name":"2016_2_Brain404","full_name":"Brain404/2016_2_Brain404","owner":{"login":"Brain404","id":22085892,"avatar_url":"https://avatars.githubusercontent.com/u/22085892?v=3","gravatar_id":"","url":"https://api.github.com/users/Brain404","html_url":"https://github.com/Brain404","followers_url":"https://api.github.com/users/Brain404/followers","following_url":"https://api.github.com/users/Brain404/following{/other_user}","gists_url":"https://api.github.com/users/Brain404/gists{/gist_id}","starred_url":"https://api.github.com/users/Brain404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brain404/subscriptions","organizations_url":"https://api.github.com/users/Brain404/orgs","repos_url":"https://api.github.com/users/Brain404/repos","events_url":"https://api.github.com/users/Brain404/events{/privacy}","received_events_url":"https://api.github.com/users/Brain404/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Brain404/2016_2_Brain404","description":null,"fork":true,"url":"https://api.github.com/repos/Brain404/2016_2_Brain404","forks_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/forks","keys_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/teams","hooks_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/hooks","issue_events_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/issues/events{/number}","events_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/events","assignees_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/assignees{/user}","branches_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/branches{/branch}","tags_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/tags","blobs_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/git/refs{/sha}","trees_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/statuses/{sha}","languages_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/languages","stargazers_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/stargazers","contributors_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/contributors","subscribers_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/subscribers","subscription_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/subscription","commits_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/commits{/sha}","git_commits_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/git/commits{/sha}","comments_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/comments{/number}","issue_comment_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/issues/comments{/number}","contents_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/contents/{+path}","compare_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/merges","archive_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/downloads","issues_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/issues{/number}","pulls_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/pulls{/number}","milestones_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/milestones{/number}","notifications_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/labels{/name}","releases_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/releases{/id}","deployments_url":"https://api.github.com/repos/Brain404/2016_2_Brain404/deployments","created_at":"2016-09-08T21:21:11Z","updated_at":"2016-09-29T21:02:05Z","pushed_at":"2016-10-24T12:01:38Z","git_url":"git://github.com/Brain404/2016_2_Brain404.git","ssh_url":"git@github.com:Brain404/2016_2_Brain404.git","clone_url":"https://github.com/Brain404/2016_2_Brain404.git","svn_url":"https://github.com/Brain404/2016_2_Brain404","homepage":null,"size":4115,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"frontend-park-mail-ru:master","ref":"master","sha":"353bf40409ac9a4d35c8c04219915cbf61099831","user":{"login":"frontend-park-mail-ru","id":16650333,"avatar_url":"https://avatars.githubusercontent.com/u/16650333?v=3","gravatar_id":"","url":"https://api.github.com/users/frontend-park-mail-ru","html_url":"https://github.com/frontend-park-mail-ru","followers_url":"https://api.github.com/users/frontend-park-mail-ru/followers","following_url":"https://api.github.com/users/frontend-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/frontend-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/frontend-park-mail-ru/orgs","repos_url":"https://api.github.com/users/frontend-park-mail-ru/repos","events_url":"https://api.github.com/users/frontend-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-park-mail-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":67436521,"name":"2016_2_Brain404","full_name":"frontend-park-mail-ru/2016_2_Brain404","owner":{"login":"frontend-park-mail-ru","id":16650333,"avatar_url":"https://avatars.githubusercontent.com/u/16650333?v=3","gravatar_id":"","url":"https://api.github.com/users/frontend-park-mail-ru","html_url":"https://github.com/frontend-park-mail-ru","followers_url":"https://api.github.com/users/frontend-park-mail-ru/followers","following_url":"https://api.github.com/users/frontend-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/frontend-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/frontend-park-mail-ru/orgs","repos_url":"https://api.github.com/users/frontend-park-mail-ru/repos","events_url":"https://api.github.com/users/frontend-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-park-mail-ru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404","description":null,"fork":false,"url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404","forks_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/forks","keys_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/teams","hooks_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/hooks","issue_events_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues/events{/number}","events_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/events","assignees_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/assignees{/user}","branches_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/branches{/branch}","tags_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/tags","blobs_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/git/refs{/sha}","trees_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/statuses/{sha}","languages_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/languages","stargazers_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/stargazers","contributors_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/contributors","subscribers_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/subscribers","subscription_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/subscription","commits_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/commits{/sha}","git_commits_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/git/commits{/sha}","comments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/comments{/number}","issue_comment_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues/comments{/number}","contents_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/contents/{+path}","compare_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/merges","archive_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/downloads","issues_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues{/number}","pulls_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls{/number}","milestones_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/milestones{/number}","notifications_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/labels{/name}","releases_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/releases{/id}","deployments_url":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/deployments","created_at":"2016-09-05T16:41:50Z","updated_at":"2016-09-29T23:32:38Z","pushed_at":"2016-10-24T12:01:38Z","git_url":"git://github.com/frontend-park-mail-ru/2016_2_Brain404.git","ssh_url":"git@github.com:frontend-park-mail-ru/2016_2_Brain404.git","clone_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404.git","svn_url":"https://github.com/frontend-park-mail-ru/2016_2_Brain404","homepage":null,"size":4089,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13"},"html":{"href":"https://github.com/frontend-park-mail-ru/2016_2_Brain404/pull/13"},"issue":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues/13"},"comments":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/frontend-park-mail-ru/2016_2_Brain404/statuses/f92775d06b4ae114ed9d34048400fdeccaf86327"}}}}
{"actor":{"display_login":"avtyul"}}