{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/comments/193785141","pull_request_review_id":126813629,"id":193785141,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Mzc4NTE0MQ==","diff_hunk":"@@ -0,0 +1,317 @@\n+'use strict';\n+\n+var NUMBER_OF_ADS = 8;\n+var MAXIMUM_ROOM_COUNT = 5;\n+var MAXIMUM_GUEST_COUNT = 100;\n+\n+var avatar = {\n+  FIRST_NUMBER: 0,\n+  URL: 'img/avatars/user',\n+  EXTENSION: '.png'\n+};\n+\n+var xCord = {\n+  MINIMUM: 300,\n+  MAXIMUM: 900\n+};\n+\n+var yCord = {\n+  MINIMUM: 130,\n+  MAXIMUM: 630\n+};\n+\n+var price = {\n+  MINIMUM: 1000000,\n+  MAXIMUM: 1000\n+};\n+\n+var pin = {\n+  WIDTH: 50,\n+  HEIGHT: 70\n+};\n+\n+var characteristicsList = {\n+  propertyTitles: [\n+    'Большая уютная квартира',\n+    'Маленькая неуютная квартира',\n+    'Огромный прекрасный дворец',\n+    'Маленький ужасный дворец',\n+    'Красивый гостевой домик',\n+    'Некрасивый негостеприимный домик',\n+    'Уютное бунгало далеко от моря',\n+    'Неуютное бунгало по колено в воде'\n+  ],\n+\n+  times: [\n+    '12:00',\n+    '13:00',\n+    '14:00'\n+  ],\n+\n+  features: [\n+    'wifi',\n+    'dishwasher',\n+    'parking',\n+    'washer',\n+    'elevator',\n+    'conditioner'\n+  ],\n+\n+  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+\n+var offerTypesTranslation = {\n+  'flat': 'Квартира',\n+  'palace': 'Дворец',\n+  'house': 'Дом',\n+  'bungalo': 'Бунгало',\n+};\n+\n+var mapPins = document.querySelector('.map__pins');\n+var mapPinTemplate = document.querySelector('template').content.querySelector('.map__pin');\n+var map = document.querySelector('.map');\n+var mapCard = document.querySelector('template').content.querySelector('.map__card').cloneNode(true);\n+var featuresBlock = mapCard.querySelector('.popup__features');\n+var photoBlock = mapCard.querySelector('.popup__photos');\n+\n+/**\n+ * Генерирует случайное число в заданном диапазоне\n+ * @param {number} minimum - минимальное значение генерируемого числа\n+ * @param {number} maximum - максимальное значение генерируемого числа\n+ * @return {number}\n+ */\n+var generateRandomNumber = function (minimum, maximum) {\n+  return Math.random() * (maximum - minimum) + minimum;\n+};\n+\n+/**\n+ * Генерирует путь к аватарке\n+ * @param {number} index - порядковый номер аватара\n+ * @return {string}\n+ */\n+var generateAvatarPath = function (index) {\n+  return avatar.URL + avatar.FIRST_NUMBER + (index + 1) + avatar.EXTENSION;\n+};\n+\n+/**\n+* Создает массив типов собственности и приводит его в соответствие с массивом заголовков предложений\n+* @param {Array.<string>} array - массив заголовков предложений\n+* @return {Array.<string>}\n+*/\n+var createPropertyTypesArray = function (array) {\n+  var propertyTypesList = [];\n+  for (var i = 0; i < array.length; i++) {\n+    if (/квартира/.test(array[i])) {\n+      propertyTypesList[i] = 'flat';\n+    } else {\n+      if (/дворец/.test(array[i])) {\n+        propertyTypesList[i] = 'palace';\n+      } else {\n+        if (/домик/.test(array[i])) {\n+          propertyTypesList[i] = 'house';\n+        } else {\n+          if (/бунгало/.test(array[i])) {\n+            propertyTypesList[i] = 'bungalo';\n+          }\n+        }\n+      }\n+    }\n+  }\n+\n+  return propertyTypesList;\n+};\n+\n+/**\n+ * Создает массив случайно расположенных элементов\n+ * @param {Array.<string>} array - массив с исходным списком строк\n+ * @param {number} length - необходимая длина массива\n+ * @return {Array.<string>}\n+ */\n+var createRandomArray = function (array, length) {\n+\n+  var newArray = [];\n+  for (var i = 0; i < length; i++) {\n+    var elementIndex = Math.floor(generateRandomNumber(0, array.length));\n+    if (newArray.indexOf(array[elementIndex]) !== -1) {\n+      i = i - 1;\n+      continue;\n+    }\n+\n+    newArray[i] = array[elementIndex];\n+  }\n+\n+  return newArray;\n+};\n+\n+/**\n+ * Генерирует объявление\n+ * @param {number} index - порядковый номер элемента из массива данных\n+ * @param {Object} list - объект с массивами исходных данных\n+ * @return {Object}\n+ */\n+var generateSimilarAd = function (index, list) {\n+  var locationX = Math.round(generateRandomNumber(xCord.MINIMUM, xCord.MAXIMUM));\n+  var locationY = Math.round(generateRandomNumber(yCord.MINIMUM, yCord.MAXIMUM));\n+\n+  var similarAd = {\n+    author: {\n+      avatar: generateAvatarPath(index)\n+    },\n+\n+    offer: {\n+      title: list.propertyTitles[index],\n+      address: locationX + ', ' + locationY,\n+      price: Math.round(generateRandomNumber(price.MINIMUM, price.MAXIMUM)),\n+      type: createPropertyTypesArray(list.propertyTitles)[index],\n+      rooms: Math.ceil(generateRandomNumber(1, MAXIMUM_ROOM_COUNT)),\n+      guests: Math.ceil(generateRandomNumber(1, MAXIMUM_GUEST_COUNT)),\n+      checkin: list.times[Math.floor(generateRandomNumber(0, list.times.length))],\n+      checkout: list.times[Math.floor(generateRandomNumber(0, list.times.length))],\n+      features: createRandomArray(list.features, Math.ceil(generateRandomNumber(1, list.features.length))),\n+      description: '',\n+      photos: createRandomArray(list.photos, list.photos.length)\n+    },\n+\n+    location: {\n+      x: locationX,\n+      y: locationY\n+    }\n+  };\n+\n+  return similarAd;\n+};\n+\n+/**\n+ * Создает массив объектов похожих объявлений\n+ * @param {number} arrayLength - количество записываемых в массив объявлений\n+ * @param {Object} list - объект, содержащий исходные параметры\n+ * @return {Array.<Object>}\n+ */\n+var generateSimilarAds = function (arrayLength, list) {\n+  var similarAds = [];\n+\n+  for (var i = 0; i < arrayLength; i++) {\n+    similarAds[i] = generateSimilarAd(i, list);\n+  }\n+\n+  return similarAds;\n+};\n+\n+/**\n+ * Генерирует метку на карте из массива данных\n+ * @param {Array.<Object>} array - массив с исходными данными\n+ * @param {number} index - порядковый номер элемента в массиве\n+ * @return {Node}\n+ */\n+var createMapPinFromArray = function (array, index) {\n+  var mapPin = mapPinTemplate.cloneNode(true);\n+  var mapPinImage = mapPin.querySelector('img');\n+  mapPin.style.left = (array[index].location.x - pin.WIDTH / 2) + 'px';\n+  mapPin.style.top = (array[index].location.y - pin.HEIGHT) + 'px';\n+  mapPinImage.src = array[index].author.avatar;\n+  mapPinImage.alt = array[index].offer.title;\n+  return mapPin;\n+};\n+\n+/**\n+ * Создает DOM-элементы, соответствующие меткам на карте\n+ * @param {Array.<Object>} array - массив объектов с исходными данными\n+ * @return {Node}\n+ */\n+var createMapPinsFromArray = function (array) {\n+  var fragment = document.createDocumentFragment();\n+\n+  for (var i = 0; i < array.length; i++) {\n+    fragment.appendChild(createMapPinFromArray(array, i));\n+  }\n+\n+  return fragment;\n+};\n+\n+/**\n+ * Генерирует элемент списка характеристик\n+ * @param {string} text - текст, прибавляемый к классу элемента\n+ * @return {Node}\n+ */\n+var createFeature = function (text) {\n+  var mapNewFeature = document.createElement('li');\n+  mapNewFeature.classList.add('popup__feature');\n+  mapNewFeature.classList.add('popup__feature--' + text);\n+  return mapNewFeature;\n+};\n+\n+/**\n+ * Генерирует список характеристик из массива\n+ * @param {Array.<string>} array - массив с исходными данными\n+ * @return {Node}\n+ */\n+var addFeatures = function (array) {\n+  var mapOldFeature = featuresBlock.querySelectorAll('.popup__feature');\n+  for (var i = 0; i < mapOldFeature.length; i++) {\n+    mapOldFeature[i].remove();\n+  }\n+  var fragment = document.createDocumentFragment();\n+  for (var j = 0; j < array.length; j++) {\n+    fragment.appendChild(createFeature(array[j]));\n+  }\n+  return fragment;\n+};\n+\n+/**\n+ * Создает DOM-элементы (набор изображений) и добавляет их в родительский блок\n+ * @param {Array.<string>} element - объект, содержащий данные для создания DOM-элементов\n+ * @return {Node}\n+ */\n+var addPhotoImage = function (element) {\n+  var mapCardPhoto = photoBlock.querySelector('.popup__photo');\n+  mapCardPhoto.remove();\n+  var fragment = document.createDocumentFragment();\n+\n+  for (var i = 0; i < element.length; i++) {\n+    mapCardPhoto = mapCardPhoto.cloneNode(true);\n+    mapCardPhoto.src = element[i];\n+\n+    fragment.appendChild(mapCardPhoto);\n+  }\n+\n+  return fragment;\n+};\n+\n+/**\n+ * Создает DOM-элемент объявления\n+ * @param {Object} element - объект, содержащий данные для создания DOM-элементов\n+ * @return {Node}\n+ */\n+var createMapCard = function (element) {\n+  mapCard.querySelector('.popup__title').textContent = element.offer.title;\n+  mapCard.querySelector('.popup__text--address').textContent = element.offer.adress;\n+  mapCard.querySelector('.popup__text--price').textContent = element.offer.price + '₽/ночь';\n+  mapCard.querySelector('.popup__type').textContent = offerTypesTranslation[element.offer.type];\n+  mapCard.querySelector('.popup__text--capacity').textContent = element.offer.rooms + ' комнаты для ' + element.offer.guests + ' гостей';","path":"js/map.js","position":294,"original_position":294,"commit_id":"29d06235f36832219865842da6fff332f67f8d56","original_commit_id":"29d06235f36832219865842da6fff332f67f8d56","user":{"login":"fyvfyv","id":3251438,"node_id":"MDQ6VXNlcjMyNTE0Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3251438?v=4","gravatar_id":"","url":"https://api.github.com/users/fyvfyv","html_url":"https://github.com/fyvfyv","followers_url":"https://api.github.com/users/fyvfyv/followers","following_url":"https://api.github.com/users/fyvfyv/following{/other_user}","gists_url":"https://api.github.com/users/fyvfyv/gists{/gist_id}","starred_url":"https://api.github.com/users/fyvfyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyvfyv/subscriptions","organizations_url":"https://api.github.com/users/fyvfyv/orgs","repos_url":"https://api.github.com/users/fyvfyv/repos","events_url":"https://api.github.com/users/fyvfyv/events{/privacy}","received_events_url":"https://api.github.com/users/fyvfyv/received_events","type":"User","site_admin":false},"body":"А может быть мы научимся склонять слова? :-) ","created_at":"2018-06-07T15:15:16Z","updated_at":"2018-06-07T15:15:24Z","html_url":"https://github.com/htmlacademy-javascript/478709-keksobooking/pull/2#discussion_r193785141","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/comments/193785141"},"html":{"href":"https://github.com/htmlacademy-javascript/478709-keksobooking/pull/2#discussion_r193785141"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2","id":193066299,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMDY2Mjk5","html_url":"https://github.com/htmlacademy-javascript/478709-keksobooking/pull/2","diff_url":"https://github.com/htmlacademy-javascript/478709-keksobooking/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/478709-keksobooking/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues/2","number":2,"state":"open","locked":false,"title":"Личный проект: пока все дома","user":{"login":"mika193","id":36661070,"node_id":"MDQ6VXNlcjM2NjYxMDcw","avatar_url":"https://avatars0.githubusercontent.com/u/36661070?v=4","gravatar_id":"","url":"https://api.github.com/users/mika193","html_url":"https://github.com/mika193","followers_url":"https://api.github.com/users/mika193/followers","following_url":"https://api.github.com/users/mika193/following{/other_user}","gists_url":"https://api.github.com/users/mika193/gists{/gist_id}","starred_url":"https://api.github.com/users/mika193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mika193/subscriptions","organizations_url":"https://api.github.com/users/mika193/orgs","repos_url":"https://api.github.com/users/mika193/repos","events_url":"https://api.github.com/users/mika193/events{/privacy}","received_events_url":"https://api.github.com/users/mika193/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: пока все дома](https://up.htmlacademy.ru/javascript/14/user/478709/tasks/13)\n\n:boom: https://htmlacademy-javascript.github.io/478709-keksobooking/2/","created_at":"2018-06-06T16:09:59Z","updated_at":"2018-06-07T15:15:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96c6bf85117cc77c37684b746b6fbb2aa9375e5a","assignee":{"login":"fyvfyv","id":3251438,"node_id":"MDQ6VXNlcjMyNTE0Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3251438?v=4","gravatar_id":"","url":"https://api.github.com/users/fyvfyv","html_url":"https://github.com/fyvfyv","followers_url":"https://api.github.com/users/fyvfyv/followers","following_url":"https://api.github.com/users/fyvfyv/following{/other_user}","gists_url":"https://api.github.com/users/fyvfyv/gists{/gist_id}","starred_url":"https://api.github.com/users/fyvfyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyvfyv/subscriptions","organizations_url":"https://api.github.com/users/fyvfyv/orgs","repos_url":"https://api.github.com/users/fyvfyv/repos","events_url":"https://api.github.com/users/fyvfyv/events{/privacy}","received_events_url":"https://api.github.com/users/fyvfyv/received_events","type":"User","site_admin":false},"assignees":[{"login":"fyvfyv","id":3251438,"node_id":"MDQ6VXNlcjMyNTE0Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3251438?v=4","gravatar_id":"","url":"https://api.github.com/users/fyvfyv","html_url":"https://github.com/fyvfyv","followers_url":"https://api.github.com/users/fyvfyv/followers","following_url":"https://api.github.com/users/fyvfyv/following{/other_user}","gists_url":"https://api.github.com/users/fyvfyv/gists{/gist_id}","starred_url":"https://api.github.com/users/fyvfyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyvfyv/subscriptions","organizations_url":"https://api.github.com/users/fyvfyv/orgs","repos_url":"https://api.github.com/users/fyvfyv/repos","events_url":"https://api.github.com/users/fyvfyv/events{/privacy}","received_events_url":"https://api.github.com/users/fyvfyv/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/statuses/29d06235f36832219865842da6fff332f67f8d56","head":{"label":"mika193:module3-task1","ref":"module3-task1","sha":"29d06235f36832219865842da6fff332f67f8d56","user":{"login":"mika193","id":36661070,"node_id":"MDQ6VXNlcjM2NjYxMDcw","avatar_url":"https://avatars0.githubusercontent.com/u/36661070?v=4","gravatar_id":"","url":"https://api.github.com/users/mika193","html_url":"https://github.com/mika193","followers_url":"https://api.github.com/users/mika193/followers","following_url":"https://api.github.com/users/mika193/following{/other_user}","gists_url":"https://api.github.com/users/mika193/gists{/gist_id}","starred_url":"https://api.github.com/users/mika193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mika193/subscriptions","organizations_url":"https://api.github.com/users/mika193/orgs","repos_url":"https://api.github.com/users/mika193/repos","events_url":"https://api.github.com/users/mika193/events{/privacy}","received_events_url":"https://api.github.com/users/mika193/received_events","type":"User","site_admin":false},"repo":{"id":135339458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMzk0NTg=","name":"478709-keksobooking","full_name":"mika193/478709-keksobooking","owner":{"login":"mika193","id":36661070,"node_id":"MDQ6VXNlcjM2NjYxMDcw","avatar_url":"https://avatars0.githubusercontent.com/u/36661070?v=4","gravatar_id":"","url":"https://api.github.com/users/mika193","html_url":"https://github.com/mika193","followers_url":"https://api.github.com/users/mika193/followers","following_url":"https://api.github.com/users/mika193/following{/other_user}","gists_url":"https://api.github.com/users/mika193/gists{/gist_id}","starred_url":"https://api.github.com/users/mika193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mika193/subscriptions","organizations_url":"https://api.github.com/users/mika193/orgs","repos_url":"https://api.github.com/users/mika193/repos","events_url":"https://api.github.com/users/mika193/events{/privacy}","received_events_url":"https://api.github.com/users/mika193/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mika193/478709-keksobooking","description":"Валерия Ларионова","fork":true,"url":"https://api.github.com/repos/mika193/478709-keksobooking","forks_url":"https://api.github.com/repos/mika193/478709-keksobooking/forks","keys_url":"https://api.github.com/repos/mika193/478709-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mika193/478709-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mika193/478709-keksobooking/teams","hooks_url":"https://api.github.com/repos/mika193/478709-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/mika193/478709-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/mika193/478709-keksobooking/events","assignees_url":"https://api.github.com/repos/mika193/478709-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/mika193/478709-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/mika193/478709-keksobooking/tags","blobs_url":"https://api.github.com/repos/mika193/478709-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mika193/478709-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mika193/478709-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/mika193/478709-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mika193/478709-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/mika193/478709-keksobooking/languages","stargazers_url":"https://api.github.com/repos/mika193/478709-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/mika193/478709-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/mika193/478709-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/mika193/478709-keksobooking/subscription","commits_url":"https://api.github.com/repos/mika193/478709-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/mika193/478709-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/mika193/478709-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/mika193/478709-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/mika193/478709-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/mika193/478709-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mika193/478709-keksobooking/merges","archive_url":"https://api.github.com/repos/mika193/478709-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mika193/478709-keksobooking/downloads","issues_url":"https://api.github.com/repos/mika193/478709-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/mika193/478709-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/mika193/478709-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/mika193/478709-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mika193/478709-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/mika193/478709-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/mika193/478709-keksobooking/deployments","created_at":"2018-05-29T18:49:39Z","updated_at":"2018-06-05T19:56:24Z","pushed_at":"2018-06-07T10:23:18Z","git_url":"git://github.com/mika193/478709-keksobooking.git","ssh_url":"git@github.com:mika193/478709-keksobooking.git","clone_url":"https://github.com/mika193/478709-keksobooking.git","svn_url":"https://github.com/mika193/478709-keksobooking","homepage":null,"size":883,"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":"8cb91cde8d74cdf78647b732ab3ef57ed2e9e9fe","user":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","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":135339324,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMzkzMjQ=","name":"478709-keksobooking","full_name":"htmlacademy-javascript/478709-keksobooking","owner":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","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/478709-keksobooking","description":"Валерия Ларионова","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking","forks_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/deployments","created_at":"2018-05-29T18:48:24Z","updated_at":"2018-05-29T20:02:20Z","pushed_at":"2018-06-07T10:25:27Z","git_url":"git://github.com/htmlacademy-javascript/478709-keksobooking.git","ssh_url":"git@github.com:htmlacademy-javascript/478709-keksobooking.git","clone_url":"https://github.com/htmlacademy-javascript/478709-keksobooking.git","svn_url":"https://github.com/htmlacademy-javascript/478709-keksobooking","homepage":"https://github.com/mika193/478709-keksobooking","size":887,"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/478709-keksobooking/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/478709-keksobooking/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/478709-keksobooking/statuses/29d06235f36832219865842da6fff332f67f8d56"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fyvfyv"}}