{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/comments/195908867","pull_request_review_id":129369151,"id":195908867,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTkwODg2Nw==","diff_hunk":"@@ -0,0 +1,213 @@\n+'use strict';\n+\n+var AMOUNT_OF_ADS = 8;\n+var OFFERS = {\n+  TITLES: [\n+    'Большая уютная квартира',\n+    'Маленькая неуютная квартира',\n+    'Огромный прекрасный дворец',\n+    'Маленький ужасный дворец',\n+    'Красивый гостевой домик',\n+    'Некрасивый негостеприимный домик',\n+    'Уютное бунгало далеко от моря',\n+    'Неуютное бунгало по колено в воде'\n+  ],\n+  TYPES: ['palace', 'flat', 'house', 'bungalo'],\n+  CHECK_TIME: ['12:00', '13:00', '14:00'],\n+  FEATURES: ['wifi', 'dishwasher', 'parking', 'washer', 'elevator', 'conditioner'],\n+  PHOTOS: ['http://o0.github.io/assets/images/tokyo/hotel1.jpg', 'http://o0.github.io/assets/images/tokyo/hotel2.jpg', 'http://o0.github.io/assets/images/tokyo/hotel3.jpg']\n+};\n+var LOCATION = {\n+  X: {\n+    MIN: 300,\n+    MAX: 900\n+  },\n+  Y: {\n+    MIN: 130,\n+    MAX: 630\n+  }\n+};\n+var ROOMS_AMOUNT = {\n+  MIN: 1,\n+  MAX: 5\n+};\n+var GUESTS_AMOUNT = {\n+  MIN: 1,\n+  MAX: 5\n+};\n+var PRICE = {\n+  MIN: 1000,\n+  MAX: 1000000\n+};\n+var PIN_SIZE = {\n+  WIDTH: 70,\n+  HEIGHT: 50\n+};\n+\n+var offerTypesTranslation = {\n+  'flat': 'Квартира',\n+  'bungalo': 'Бунгало',\n+  'house': 'Дом',\n+  'palace': 'Дворец'\n+};\n+\n+var map = document.querySelector('.map');\n+var template = document.querySelector('#ad-template').content.querySelector('.map__card');\n+\n+var mapPinsBlock = document.querySelector('.map__pins');\n+var mapPin = document.querySelector('#ad-template').content.querySelector('.map__pin');\n+\n+var translateTypes = function (type) {\n+  return offerTypesTranslation[type];\n+};\n+\n+var getRandomInteger = function (min, max) {\n+  return Math.floor(Math.random() * (max - min + 1)) + min;\n+};\n+\n+var getRandomIndex = function (arr) {\n+  return arr[getRandomInteger(0, arr.length - 1)];\n+};\n+\n+var shuffleArr = function (array) {\n+  for (var i = 0; i < array.length; i++) {\n+    var randomIndex = getRandomInteger(0, array.length - 1);\n+    var j = array[randomIndex];\n+\n+    array[randomIndex] = array[array.length - 1];\n+    array[array.length - 1] = j;\n+  }\n+  return array;\n+};\n+\n+var getRandomLengthOfArray = function (array) {\n+  return array.splice(0, getRandomInteger(1, array.length));\n+};\n+\n+var getPlurals = function (number, titles) {\n+  var cases = [2, 0, 1, 1, 1, 2];\n+  return titles [(number % 100 > 4 && number % 100 < 20) ? 2 : cases[(number % 10 < 5) ? number % 10 : 5]];\n+};\n+\n+var getAvatarPath = function (i) {\n+  return 'img/avatars/user0' + (i + 1) + '.png';\n+};\n+\n+var createAd = function (i) {\n+\n+  var locationX = getRandomInteger(LOCATION.X.MIN, LOCATION.X.MAX);\n+  var locationY = getRandomInteger(LOCATION.Y.MIN, LOCATION.Y.MAX);\n+\n+  var ad =\n+    {\n+      'author': {\n+        'avatar': getAvatarPath(i)\n+      },\n+\n+      'offer': {\n+        'title': getRandomIndex(OFFERS.TITLES),\n+        'address': locationX + ', ' + locationY,\n+        'price': getRandomInteger(PRICE.MIN, PRICE.MAX),\n+        'type': getRandomIndex(OFFERS.TYPES),\n+        'rooms': getRandomInteger(ROOMS_AMOUNT.MIN, ROOMS_AMOUNT.MAX),\n+        'guests': getRandomInteger(GUESTS_AMOUNT.MIN, GUESTS_AMOUNT.MAX),\n+        'checkin': getRandomIndex(OFFERS.CHECK_TIME),\n+        'checkout': getRandomIndex(OFFERS.CHECK_TIME),\n+        'features': getRandomLengthOfArray(OFFERS.FEATURES),\n+        'description': '',\n+        'photos': shuffleArr(OFFERS.PHOTOS.slice())\n+      },\n+\n+      'location': {\n+        'x': locationX,\n+        'y': locationY\n+      }\n+    };\n+  return ad;\n+};\n+\n+var renderPin = function (array, i) {\n+\n+  var pinElement = mapPin.cloneNode(true);\n+  var pinImg = pinElement.querySelector('img');\n+\n+  pinElement.style = 'left:' + (array[i].location.x - PIN_SIZE.WIDTH) + 'px; ' + 'top:' + (array[i].location.y - PIN_SIZE.HEIGHT / 2) + 'px;';\n+  pinImg.src = array[i].author.avatar;\n+  pinImg.alt = array[i].offer.title;\n+\n+  mapPinsBlock.appendChild(pinElement);\n+};\n+\n+var clearDefaultElements = function (wrapOfElement, avaliableElements) {\n+  for (var i = 0; i < avaliableElements.length; i++) {\n+    wrapOfElement.removeChild(avaliableElements[i]);\n+  }\n+};\n+\n+var getGeneratedFeatures = function (adElement, card) {\n+  for (var i = 0; i < card.length; i++) {\n+    var featureElement = template.querySelector('.popup__feature--' + card[i]);\n+    var element = featureElement.cloneNode();\n+    adElement.querySelector('.popup__features').appendChild(element);\n+  }\n+};\n+\n+var getGeneratedPhotoes = function (adElement, photoesArray) {\n+  for (var i = 0; i < photoesArray.length; i++) {\n+    var photoElement = template.querySelector('.popup__photo');\n+    var element = photoElement.cloneNode();\n+    element.src = photoesArray[i];\n+    adElement.querySelector('.popup__photos').appendChild(element);\n+  }\n+};\n+\n+var renderAd = function (card) {\n+  var adElement = template.cloneNode(true);\n+  var rooms = card.offer.rooms;\n+  var guests = card.offer.guests;\n+\n+  adElement.querySelector('.popup__avatar').src = card.author.avatar;\n+  adElement.querySelector('.popup__title').textContent = card.offer.title;\n+  adElement.querySelector('.popup__text--address').textContent = card.offer.address;\n+  adElement.querySelector('.popup__text--price').textContent = card.offer.price + '₽/ночь';\n+  adElement.querySelector('.popup__type').textContent = translateTypes(card.offer.type);\n+  adElement.querySelector('.popup__text--capacity').textContent = rooms + ' ' + getPlurals(rooms, ['комната', 'комнаты', 'комнат']) + ' для ' + guests + ' ' + getPlurals(guests, ['гостя', 'гостей', 'гостей']);\n+  adElement.querySelector('.popup__text--time').textContent = 'Заезд после ' + card.offer.checkin + ', выезд до ' + card.offer.checkout;\n+\n+  clearDefaultElements(adElement.querySelector('.popup__features'), adElement.querySelectorAll('.popup__feature'));\n+  getGeneratedFeatures(adElement, card.offer.features);\n+\n+  adElement.querySelector('.popup__description').textContent = card.offer.description;\n+\n+  clearDefaultElements(adElement.querySelector('.popup__photos'), adElement.querySelectorAll('.popup__photo'));\n+  getGeneratedPhotoes(adElement, card.offer.photos);\n+\n+  return adElement;\n+};\n+\n+var getAdsArray = function (fragment, amount) {\n+  var adsArray = [];\n+\n+  for (var i = 0; i < amount; i++) {\n+    adsArray[i] = createAd(i);\n+    fragment.appendChild(renderAd(adsArray[0]));\n+    renderPin(adsArray, i);\n+  }\n+};\n+\n+var renderAll = function (fragment) {\n+  var container = document.querySelector('.map__filters-container');\n+  map.insertBefore(fragment, container);\n+};\n+\n+var generateAd = function (amount) {\n+  var fragment = document.createDocumentFragment();\n+\n+  getAdsArray(fragment, amount);\n+\n+  renderAll(fragment);\n+};\n+\n+generateAd(AMOUNT_OF_ADS);\n+\n+document.querySelector('.map').classList.remove('map--faded');","path":"js/map.js","position":213,"original_position":213,"commit_id":"90eaae9f8bad2ef4aa3cbb67e4b65c1a1e8196c8","original_commit_id":"90eaae9f8bad2ef4aa3cbb67e4b65c1a1e8196c8","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-16T18:08:01Z","updated_at":"2018-06-16T18:08:24Z","html_url":"https://github.com/htmlacademy-javascript/36491-keksobooking/pull/2#discussion_r195908867","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/comments/195908867"},"html":{"href":"https://github.com/htmlacademy-javascript/36491-keksobooking/pull/2#discussion_r195908867"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/2","id":195183910,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MTgzOTEw","html_url":"https://github.com/htmlacademy-javascript/36491-keksobooking/pull/2","diff_url":"https://github.com/htmlacademy-javascript/36491-keksobooking/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/36491-keksobooking/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues/2","number":2,"state":"open","locked":false,"title":"Личный проект: пока все дома","user":{"login":"VolokhovOleg","id":18694794,"node_id":"MDQ6VXNlcjE4Njk0Nzk0","avatar_url":"https://avatars2.githubusercontent.com/u/18694794?v=4","gravatar_id":"","url":"https://api.github.com/users/VolokhovOleg","html_url":"https://github.com/VolokhovOleg","followers_url":"https://api.github.com/users/VolokhovOleg/followers","following_url":"https://api.github.com/users/VolokhovOleg/following{/other_user}","gists_url":"https://api.github.com/users/VolokhovOleg/gists{/gist_id}","starred_url":"https://api.github.com/users/VolokhovOleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VolokhovOleg/subscriptions","organizations_url":"https://api.github.com/users/VolokhovOleg/orgs","repos_url":"https://api.github.com/users/VolokhovOleg/repos","events_url":"https://api.github.com/users/VolokhovOleg/events{/privacy}","received_events_url":"https://api.github.com/users/VolokhovOleg/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: пока все дома](https://up.htmlacademy.ru/javascript/14/user/36491/tasks/13)\n\n:boom: https://htmlacademy-javascript.github.io/36491-keksobooking/2/","created_at":"2018-06-15T14:01:55Z","updated_at":"2018-06-16T18:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c59e9d6db5517d74b5a310688986d519dc207f2","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/36491-keksobooking/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/statuses/90eaae9f8bad2ef4aa3cbb67e4b65c1a1e8196c8","head":{"label":"VolokhovOleg:module3-task1","ref":"module3-task1","sha":"90eaae9f8bad2ef4aa3cbb67e4b65c1a1e8196c8","user":{"login":"VolokhovOleg","id":18694794,"node_id":"MDQ6VXNlcjE4Njk0Nzk0","avatar_url":"https://avatars2.githubusercontent.com/u/18694794?v=4","gravatar_id":"","url":"https://api.github.com/users/VolokhovOleg","html_url":"https://github.com/VolokhovOleg","followers_url":"https://api.github.com/users/VolokhovOleg/followers","following_url":"https://api.github.com/users/VolokhovOleg/following{/other_user}","gists_url":"https://api.github.com/users/VolokhovOleg/gists{/gist_id}","starred_url":"https://api.github.com/users/VolokhovOleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VolokhovOleg/subscriptions","organizations_url":"https://api.github.com/users/VolokhovOleg/orgs","repos_url":"https://api.github.com/users/VolokhovOleg/repos","events_url":"https://api.github.com/users/VolokhovOleg/events{/privacy}","received_events_url":"https://api.github.com/users/VolokhovOleg/received_events","type":"User","site_admin":false},"repo":{"id":135339601,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMzk2MDE=","name":"36491-keksobooking","full_name":"VolokhovOleg/36491-keksobooking","owner":{"login":"VolokhovOleg","id":18694794,"node_id":"MDQ6VXNlcjE4Njk0Nzk0","avatar_url":"https://avatars2.githubusercontent.com/u/18694794?v=4","gravatar_id":"","url":"https://api.github.com/users/VolokhovOleg","html_url":"https://github.com/VolokhovOleg","followers_url":"https://api.github.com/users/VolokhovOleg/followers","following_url":"https://api.github.com/users/VolokhovOleg/following{/other_user}","gists_url":"https://api.github.com/users/VolokhovOleg/gists{/gist_id}","starred_url":"https://api.github.com/users/VolokhovOleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VolokhovOleg/subscriptions","organizations_url":"https://api.github.com/users/VolokhovOleg/orgs","repos_url":"https://api.github.com/users/VolokhovOleg/repos","events_url":"https://api.github.com/users/VolokhovOleg/events{/privacy}","received_events_url":"https://api.github.com/users/VolokhovOleg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VolokhovOleg/36491-keksobooking","description":"Олег Волохов","fork":true,"url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking","forks_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/forks","keys_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/teams","hooks_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/events","assignees_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/tags","blobs_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/languages","stargazers_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/subscription","commits_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/merges","archive_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/downloads","issues_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/VolokhovOleg/36491-keksobooking/deployments","created_at":"2018-05-29T18:50:58Z","updated_at":"2018-06-07T18:02:23Z","pushed_at":"2018-06-16T17:24:21Z","git_url":"git://github.com/VolokhovOleg/36491-keksobooking.git","ssh_url":"git@github.com:VolokhovOleg/36491-keksobooking.git","clone_url":"https://github.com/VolokhovOleg/36491-keksobooking.git","svn_url":"https://github.com/VolokhovOleg/36491-keksobooking","homepage":null,"size":882,"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":"42aff012417851dda4d8361d9b58dd702b6ed0b2","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":135339543,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMzk1NDM=","name":"36491-keksobooking","full_name":"htmlacademy-javascript/36491-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/36491-keksobooking","description":"Олег Волохов","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking","forks_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/deployments","created_at":"2018-05-29T18:50:24Z","updated_at":"2018-05-29T19:57:27Z","pushed_at":"2018-06-16T17:24:22Z","git_url":"git://github.com/htmlacademy-javascript/36491-keksobooking.git","ssh_url":"git@github.com:htmlacademy-javascript/36491-keksobooking.git","clone_url":"https://github.com/htmlacademy-javascript/36491-keksobooking.git","svn_url":"https://github.com/htmlacademy-javascript/36491-keksobooking","homepage":"https://github.com/VolokhovOleg/36491-keksobooking","size":880,"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/36491-keksobooking/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/36491-keksobooking/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/36491-keksobooking/statuses/90eaae9f8bad2ef4aa3cbb67e4b65c1a1e8196c8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fyvfyv"}}