{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/comments/183204476","pull_request_review_id":114167233,"id":183204476,"diff_hunk":"@@ -0,0 +1,140 @@\n+// Константы\n+\n+var PIN_SIZE = 40;\n+\n+var TITLE = [\n+  'Большая уютная квартира',\n+  'Маленькая неуютная квартира',\n+  'Огромный прекрасный дворец',\n+  'Маленький ужасный дворец',\n+  'Красивый гостевой домик',\n+  'Некрасивый негостеприимный домик',\n+  'Уютное бунгало далеко от моря',\n+  'Неуютное бунгало по колено в воде'\n+];\n+\n+var TYPE = [\n+  {palace: 'Дворец'},\n+  {flat: 'Квартира'},\n+  {house: 'Дом'},\n+  {bungalo: 'Бунгало'}\n+];\n+\n+var CHECKIN_CHECKOUT = [\n+  '12:00',\n+  '13:00',\n+  '14:00'\n+];\n+\n+var FEATURES = [\n+  'wifi',\n+  'dishwasher',\n+  'parking',\n+  'washer',\n+  'elevator',\n+  'conditioner'\n+];\n+\n+var PHOTOS = [\n+  'http://o0.github.io/assets/images/tokyo/hotel1.jpg',\n+  'http://o0.github.io/assets/images/tokyo/hotel2.jpg',\n+  'http://o0.github.io/assets/images/tokyo/hotel3.jpg'\n+];\n+\n+var ARRAY_LENGTH = 8;\n+\n+// Функции и переменные\n+\n+var getRandomNumberFromInterval = function(min, max) {\n+  var randomNumber = min + Math.random() * (max + 1 - min);\n+    randomNumber = Math.floor(randomNumber);\n+    return randomNumber;\n+};\n+\n+var getRandomArrayItem = function(array) {\n+    var index = getRandomNumberFromInterval(0, array.length - 1);\n+    return array[index];\n+};\n+\n+// получаем случайную длину массива, для features\n+var getRandomLenghtArray = function(array) {\n+  var firstArrayElement = getRandomNumberFromInterval(0, array.length - 1)\n+  var lastArrayElement = getRandomNumberFromInterval(0, array.length - 1)\n+  var arrayRandomLength = array slice(firstArrayElement, lastArrayElement);","path":"js/map.js","position":63,"original_position":63,"commit_id":"1d394990882c666dcba85db22076f3ef3a26919a","original_commit_id":"1d394990882c666dcba85db22076f3ef3a26919a","user":{"login":"YuliaShylo","id":36846364,"avatar_url":"https://avatars0.githubusercontent.com/u/36846364?v=4","gravatar_id":"","url":"https://api.github.com/users/YuliaShylo","html_url":"https://github.com/YuliaShylo","followers_url":"https://api.github.com/users/YuliaShylo/followers","following_url":"https://api.github.com/users/YuliaShylo/following{/other_user}","gists_url":"https://api.github.com/users/YuliaShylo/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliaShylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliaShylo/subscriptions","organizations_url":"https://api.github.com/users/YuliaShylo/orgs","repos_url":"https://api.github.com/users/YuliaShylo/repos","events_url":"https://api.github.com/users/YuliaShylo/events{/privacy}","received_events_url":"https://api.github.com/users/YuliaShylo/received_events","type":"User","site_admin":false},"body":"В учебнике не заметила точку!","created_at":"2018-04-21T08:45:13Z","updated_at":"2018-04-21T08:45:13Z","html_url":"https://github.com/htmlacademy-javascript/67126-keksobooking/pull/2#discussion_r183204476","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/comments/183204476"},"html":{"href":"https://github.com/htmlacademy-javascript/67126-keksobooking/pull/2#discussion_r183204476"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2"}},"in_reply_to_id":182943405},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2","id":182833433,"html_url":"https://github.com/htmlacademy-javascript/67126-keksobooking/pull/2","diff_url":"https://github.com/htmlacademy-javascript/67126-keksobooking/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/67126-keksobooking/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues/2","number":2,"state":"open","locked":false,"title":"Личный проект: милый DOM","user":{"login":"YuliaShylo","id":36846364,"avatar_url":"https://avatars0.githubusercontent.com/u/36846364?v=4","gravatar_id":"","url":"https://api.github.com/users/YuliaShylo","html_url":"https://github.com/YuliaShylo","followers_url":"https://api.github.com/users/YuliaShylo/followers","following_url":"https://api.github.com/users/YuliaShylo/following{/other_user}","gists_url":"https://api.github.com/users/YuliaShylo/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliaShylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliaShylo/subscriptions","organizations_url":"https://api.github.com/users/YuliaShylo/orgs","repos_url":"https://api.github.com/users/YuliaShylo/repos","events_url":"https://api.github.com/users/YuliaShylo/events{/privacy}","received_events_url":"https://api.github.com/users/YuliaShylo/received_events","type":"User","site_admin":false},"body":"Код написала, вопросы и мелкие косяки в комментариях.\r\nНе отображается страница, т.к. отладчик нашел ошибку, я не знаю что ему не нравится и не смогла заставить его пройти дальше по всему коду.\n\n---\n:mortar_board: [Личный проект: милый DOM](https://up.htmlacademy.ru/javascript/13/user/67126/tasks/13)\n\n:boom: https://htmlacademy-javascript.github.io/67126-keksobooking/2/","created_at":"2018-04-19T16:34:53Z","updated_at":"2018-04-21T08:45:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1d3506afde2eab0004af9d89e4cb2a59f042279","assignee":{"login":"sashasushko","id":4469056,"avatar_url":"https://avatars1.githubusercontent.com/u/4469056?v=4","gravatar_id":"","url":"https://api.github.com/users/sashasushko","html_url":"https://github.com/sashasushko","followers_url":"https://api.github.com/users/sashasushko/followers","following_url":"https://api.github.com/users/sashasushko/following{/other_user}","gists_url":"https://api.github.com/users/sashasushko/gists{/gist_id}","starred_url":"https://api.github.com/users/sashasushko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashasushko/subscriptions","organizations_url":"https://api.github.com/users/sashasushko/orgs","repos_url":"https://api.github.com/users/sashasushko/repos","events_url":"https://api.github.com/users/sashasushko/events{/privacy}","received_events_url":"https://api.github.com/users/sashasushko/received_events","type":"User","site_admin":false},"assignees":[{"login":"sashasushko","id":4469056,"avatar_url":"https://avatars1.githubusercontent.com/u/4469056?v=4","gravatar_id":"","url":"https://api.github.com/users/sashasushko","html_url":"https://github.com/sashasushko","followers_url":"https://api.github.com/users/sashasushko/followers","following_url":"https://api.github.com/users/sashasushko/following{/other_user}","gists_url":"https://api.github.com/users/sashasushko/gists{/gist_id}","starred_url":"https://api.github.com/users/sashasushko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashasushko/subscriptions","organizations_url":"https://api.github.com/users/sashasushko/orgs","repos_url":"https://api.github.com/users/sashasushko/repos","events_url":"https://api.github.com/users/sashasushko/events{/privacy}","received_events_url":"https://api.github.com/users/sashasushko/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/statuses/1d394990882c666dcba85db22076f3ef3a26919a","head":{"label":"YuliaShylo:module3-task1","ref":"module3-task1","sha":"1d394990882c666dcba85db22076f3ef3a26919a","user":{"login":"YuliaShylo","id":36846364,"avatar_url":"https://avatars0.githubusercontent.com/u/36846364?v=4","gravatar_id":"","url":"https://api.github.com/users/YuliaShylo","html_url":"https://github.com/YuliaShylo","followers_url":"https://api.github.com/users/YuliaShylo/followers","following_url":"https://api.github.com/users/YuliaShylo/following{/other_user}","gists_url":"https://api.github.com/users/YuliaShylo/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliaShylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliaShylo/subscriptions","organizations_url":"https://api.github.com/users/YuliaShylo/orgs","repos_url":"https://api.github.com/users/YuliaShylo/repos","events_url":"https://api.github.com/users/YuliaShylo/events{/privacy}","received_events_url":"https://api.github.com/users/YuliaShylo/received_events","type":"User","site_admin":false},"repo":{"id":127327149,"name":"67126-keksobooking","full_name":"YuliaShylo/67126-keksobooking","owner":{"login":"YuliaShylo","id":36846364,"avatar_url":"https://avatars0.githubusercontent.com/u/36846364?v=4","gravatar_id":"","url":"https://api.github.com/users/YuliaShylo","html_url":"https://github.com/YuliaShylo","followers_url":"https://api.github.com/users/YuliaShylo/followers","following_url":"https://api.github.com/users/YuliaShylo/following{/other_user}","gists_url":"https://api.github.com/users/YuliaShylo/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliaShylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliaShylo/subscriptions","organizations_url":"https://api.github.com/users/YuliaShylo/orgs","repos_url":"https://api.github.com/users/YuliaShylo/repos","events_url":"https://api.github.com/users/YuliaShylo/events{/privacy}","received_events_url":"https://api.github.com/users/YuliaShylo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuliaShylo/67126-keksobooking","description":"Yuliia Shylo","fork":true,"url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking","forks_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/forks","keys_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/teams","hooks_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/events","assignees_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/tags","blobs_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/languages","stargazers_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/subscription","commits_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/merges","archive_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/downloads","issues_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/YuliaShylo/67126-keksobooking/deployments","created_at":"2018-03-29T17:48:10Z","updated_at":"2018-04-19T09:41:28Z","pushed_at":"2018-04-19T16:31:11Z","git_url":"git://github.com/YuliaShylo/67126-keksobooking.git","ssh_url":"git@github.com:YuliaShylo/67126-keksobooking.git","clone_url":"https://github.com/YuliaShylo/67126-keksobooking.git","svn_url":"https://github.com/YuliaShylo/67126-keksobooking","homepage":null,"size":576,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"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":"htmlacademy-javascript:master","ref":"master","sha":"585bb10ed7393f926ce79031092d4baa9adcf7de","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":127327037,"name":"67126-keksobooking","full_name":"htmlacademy-javascript/67126-keksobooking","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/67126-keksobooking","description":"Yuliia Shylo","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking","forks_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/deployments","created_at":"2018-03-29T17:46:53Z","updated_at":"2018-04-03T13:24:26Z","pushed_at":"2018-04-19T16:35:23Z","git_url":"git://github.com/htmlacademy-javascript/67126-keksobooking.git","ssh_url":"git@github.com:htmlacademy-javascript/67126-keksobooking.git","clone_url":"https://github.com/htmlacademy-javascript/67126-keksobooking.git","svn_url":"https://github.com/htmlacademy-javascript/67126-keksobooking","homepage":"https://github.com/YuliaShylo/67126-keksobooking","size":583,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/67126-keksobooking/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/67126-keksobooking/statuses/1d394990882c666dcba85db22076f3ef3a26919a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"YuliaShylo"}}