{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/comments/223574564","pull_request_review_id":162732865,"id":223574564,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzU3NDU2NA==","diff_hunk":"@@ -170,14 +251,327 @@ var fragmentOfOrders = createElementsBlockFromTemplate(\n     orderList\n );\n \n-catalog.classList.remove('catalog__cards--load');\n-catalog.querySelector('.catalog__load')\n-  .classList\n-  .add('visually-hidden'); // Скрываем сообщение о загрузке товаров\n-catalog.appendChild(fragmentOfProductCards); // Добавляем на страницу готовый список товаров\n-\n-order.classList.remove('goods__cards--empty'); // Удаляем класс пустого заказа\n-order.querySelector('.goods__card-empty')\n-  .classList\n-  .add('visually-hidden'); // Скрываем сообщение о пустом заказе\n-order.appendChild(fragmentOfOrders); // Добавляем на страницу готовый список заказов\n+// НЕОБХОДИМЫЕ УЗЛЫ ДЛЯ ФОРМИРОВАНИЯ ТОВАРОВ\n+// /////////////////////////////////////////////////////////\n+// /////////////////////////////////////////////////////////\n+\n+\n+// /////////////////////////////////////////////////////////\n+// /////////////////////////////////////////////////////////\n+//  РЕНДЕР ТОВАРОВ НА СТРАНИЦЕ\n+\n+if (productList.length >= 1) {\n+  catalog.classList.remove('catalog__cards--load');\n+  catalog.querySelector('.catalog__load')\n+    .classList\n+    .add('visually-hidden'); // Скрываем сообщение о загрузке товаров\n+  catalog.appendChild(fragmentOfProductCards); // Добавляем на страницу готовый список товаров\n+}\n+\n+if (orderList.length >= 1) {\n+  cart.classList.remove('goods__cards--empty'); // Удаляем класс пустого заказа\n+  cart.querySelector('.goods__card-empty')\n+    .classList\n+    .add('visually-hidden'); // Скрываем сообщение о пустом заказе\n+  cart.appendChild(fragmentOfOrders); // Добавляем на страницу готовый список заказов\n+}\n+\n+//  РЕНДЕР ТОВАРОВ НА СТРАНИЦЕ\n+// /////////////////////////////////////////////////////////\n+// /////////////////////////////////////////////////////////\n+\n+\n+// /////////////////////////////////////////////////////////\n+// /////////////////////////////////////////////////////////\n+// ДОБАВЛЕНИЕ В ИЗБРАННОЕ\n+\n+var addToFavHandler = function (evt) {\n+  var clickedElement = evt.target;\n+  clickedElement.classList.toggle('card__btn-favorite--selected');\n+};\n+\n+var favButton = document.querySelectorAll('.card__btn-favorite');\n+\n+var listenToFavButtons = function () {\n+  for (var i = 0; i < favButton.length; i++) {\n+    favButton[i].addEventListener('click', addToFavHandler);\n+  }\n+};\n+listenToFavButtons();\n+\n+// ДОБАВЛЕНИЕ В ИЗБРАННОЕ\n+// /////////////////////////////////////////////////////////\n+// /////////////////////////////////////////////////////////\n+\n+\n+// /////////////////////////////////////////////////////////\n+//  БЛОКИРОВКА ФОРМЫ ЗАКАЗА\n+\n+var toggleOrderForm = function () {\n+  var orderFields = orderForm.querySelectorAll('input, fieldset');\n+  for (var i = 0; i < orderFields.length; i++) {\n+    if (orderList.length < 1) {\n+      orderFields[i].setAttribute('disabled', '');\n+    } else {\n+      orderFields[i].removeAttribute('disabled');\n+    }\n+  }\n+\n+};\n+toggleOrderForm();\n+//  БЛОКИРОВКА ФОРМЫ ЗАКАЗА\n+// /////////////////////////////////////////////////////////\n+\n+\n+// /////////////////////////////////////////////////////////\n+// /////////////////////////////////////////////////////////\n+//  ДОБАВЛЕНИЕ В КОРЗИНУ\n+\n+var getProductById = function (targetId, dataArray) {\n+  var target = {};\n+  for (var i = 0; i < dataArray.length; i++) {\n+    if (dataArray[i].id === targetId) {\n+      target = dataArray[i];\n+      break;\n+    }\n+  }\n+  return target;\n+};\n+\n+\n+var checkIsOrdered = function (product) {\n+  var productId = product.id;\n+  var orderListSlice = orderList;\n+  var isOrdered = false;\n+\n+  for (var i = 0; i < orderList.length; i++) {\n+    if (orderListSlice[i].id === productId) {\n+      isOrdered = true;\n+    }\n+  }\n+  return isOrdered;\n+};\n+\n+\n+var deleteOrder = function (order) {\n+  var orderIndex = orderList.indexOf(order);\n+  orderList.splice(orderIndex - 1, 1);\n+};\n+\n+\n+var updateOrderList = function () {\n+  // debugger;\n+  for (var i = 0; i < orderList.length; i++) {\n+    if (orderList[i].orderAmount < 1) {\n+      deleteOrder(orderList[i]);\n+    }\n+  }\n+};\n+\n+var changeOrderAmount = function (product, order, change) {\n+  switch (change) {\n+    case 'increase':\n+      if (product.amount > 0) {\n+        order.orderAmount++;\n+        product.amount--;\n+        return;\n+      } else {\n+        return;\n+      }\n+    case 'decrease':\n+      if (order.orderAmount > 0) {\n+        order.orderAmount--;\n+        product.amount++;\n+        return;\n+      } else {\n+        return;\n+      }\n+    case 'reset':\n+      // debugger;\n+      product.amount += order.orderAmount;\n+      order.orderAmount = 0;\n+      deleteOrder(order);\n+      break;\n+  }\n+};\n+\n+\n+var addNewOrder = function (product) {\n+  var newOrder = Object.assign({}, product);\n+\n+  newOrder.orderAmount = 0; // Добавляем счётчик заказа\n+  delete newOrder.amount; // Удаляем счётчик товара\n+  orderList.push(newOrder);\n+\n+  changeOrderAmount(product, newOrder, 'increase');\n+};\n+\n+\n+var addToOrderList = function (product, isOrdered) {\n+  if (isOrdered) {\n+    var orderData = getProductById(product.id, orderList);\n+    changeOrderAmount(product, orderData, 'increase');\n+  } else {\n+    addNewOrder(product);\n+  }\n+};\n+\n+\n+var updateCatalogProductNode = function (productData, productNode) {\n+  if (productData.amount > CLOSE_TO_END_NUMBER) {\n+    if (productNode.classList.contains('card--in-stock')) {\n+      return;\n+    } else {\n+      productNode.classList.remove('card--little', 'card--soon');\n+      productNode.classList.add('card--in-stock');\n+    }\n+  } else if (productData.amount >= 1 && productData.amount <= CLOSE_TO_END_NUMBER) {\n+    productNode.classList.remove('card--in-stock');\n+    productNode.classList.add('card--little');\n+  } else {\n+    productNode.classList.remove('card--in-stock');\n+    productNode.classList.add('card--soon');\n+  }\n+};\n+\n+\n+var toggleEmptyCartMessage = function () {\n+  if (orderList.length >= 1) {\n+    cart.classList.remove('goods__cards--empty'); // Удаляем класс пустого заказа\n+    cart.querySelector('.goods__card-empty')\n+      .classList\n+      .add('visually-hidden'); // Скрываем сообщение о пустом заказе\n+  } else {\n+    cart.classList.add('goods__cards--empty'); // Показываем класс пустого заказа\n+    cart.querySelector('.goods__card-empty')\n+      .classList\n+      .remove('visually-hidden'); // Показываем сообщение о пустом заказе\n+  }\n+};\n+\n+\n+var updateOrderItemNode = function (orderId, isOrdered, orderData) {\n+  var orderNode;\n+\n+  if (isOrdered && orderData.orderAmount > 0) {\n+    orderNode = cart.querySelector('.card-order[data-id=\"' + orderId + '\"]');\n+    var counter = orderNode.querySelector('.card-order__count');\n+    counter.value = orderData.orderAmount;\n+  } else if (isOrdered && orderData.orderAmount === 0) {\n+    orderNode = cart.querySelector('.card-order[data-id=\"' + orderId + '\"]');\n+    orderNode.remove();\n+  } else {\n+    var templateCopy = orderTemplate.cloneNode(true);\n+    var newOrderNode = makeOrderNode(templateCopy, orderData);\n+\n+    cart.appendChild(newOrderNode);\n+  }\n+};\n+\n+\n+var updateTotalCart = function () {\n+  var sum = 0;\n+  var amount = 0;\n+  var cartTotal = document.querySelector('.goods__total');\n+  var cartSum = cartTotal.querySelector('.goods__price');\n+  var cartBtn = cartTotal.querySelector('.goods__order-link');\n+\n+  for (var i = 0; i < orderList.length; i++) {\n+    sum += orderList[i].price * orderList[i].orderAmount;\n+    amount += orderList[i].orderAmount;\n+  }\n+\n+  if (amount > 0) {\n+    cartPreview.textContent = 'В корзине ' + amount + ' товара, на сумму ' + sum + ' ₽';\n+    cartTotal.classList.remove('visually-hidden');\n+    cartTotal.querySelector('.goods__total-count')\n+      .childNodes.item(0)\n+      .textContent = 'Итого за ' + amount + ' товаров: ';\n+    cartSum.textContent = sum + ' ₽';\n+    cartBtn.classList.remove('goods__order-link--disabled');\n+  } else {\n+    cartPreview.textContent = 'В корзине ничего нет';\n+    cartTotal.classList.add('visually-hidden');\n+    cartTotal.querySelector('.goods__total-count')\n+      .childNodes.item(0)\n+      .textContent = 'Итого за 0 товаров: ';\n+    cartSum.textContent = '0 ₽';\n+    cartBtn.classList.remove('goods__order-link--disabled');\n+    toggleEmptyCartMessage();\n+  }\n+};\n+\n+\n+var addProductToOrderHandler = function (evt) {\n+  var clickedElement = evt.target;\n+  var targetCardNode = clickedElement.closest('.catalog__card');\n+  var targetProductId = targetCardNode.getAttribute('data-id');\n+  var targetProduct = getProductById(targetProductId, productList);\n+  var isOrdered = checkIsOrdered(targetProduct);\n+\n+  addToOrderList(targetProduct, isOrdered);\n+  var orderData = getProductById(targetProductId, orderList);\n+\n+  toggleEmptyCartMessage();\n+  updateCatalogProductNode(targetProduct, targetCardNode);\n+  updateOrderItemNode(targetProductId, isOrdered, orderData);\n+  updateTotalCart();\n+\n+  listenToOrderCards();\n+\n+  toggleOrderForm();\n+};\n+\n+var addToCartButton = document.querySelectorAll('.card__btn');\n+var listenToCartButtons = function () {\n+  for (var i = 0; i < addToCartButton.length; i++) {\n+    addToCartButton[i].addEventListener('click', addProductToOrderHandler);\n+  }\n+};\n+listenToCartButtons();\n+\n+//  ДОБАВЛЕНИЕ В КОРЗИНУ\n+// /////////////////////////////////////////////////////////\n+\n+\n+// /////////////////////////////////////////////////////////\n+//  УПРАВЛЕНИЕ ЗАКАЗАМИ\n+\n+var manageOrderHandler = function (evt) {\n+  var clickedElementNode = evt.target;\n+  var targetOrderNode = evt.currentTarget;\n+  var targetOrderData = getProductById(targetOrderNode.getAttribute('data-id'), orderList);\n+  var targetProductData = getProductById(targetOrderNode.getAttribute('data-id'), productList);\n+  var targetProductNode = catalog.querySelector('.catalog__card[data-id=\"' + targetProductData.id + '\"]');\n+\n+  switch (true) {","path":"js/goods.js","position":528,"original_position":518,"commit_id":"b8e9b84ce73f275e173fc20303c0ccca474b1bb4","original_commit_id":"1f1ddf03442d5c9340d6c5d00a0e83c7782d918c","user":{"login":"fooontic","id":12127740,"node_id":"MDQ6VXNlcjEyMTI3NzQw","avatar_url":"https://avatars3.githubusercontent.com/u/12127740?v=4","gravatar_id":"","url":"https://api.github.com/users/fooontic","html_url":"https://github.com/fooontic","followers_url":"https://api.github.com/users/fooontic/followers","following_url":"https://api.github.com/users/fooontic/following{/other_user}","gists_url":"https://api.github.com/users/fooontic/gists{/gist_id}","starred_url":"https://api.github.com/users/fooontic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooontic/subscriptions","organizations_url":"https://api.github.com/users/fooontic/orgs","repos_url":"https://api.github.com/users/fooontic/repos","events_url":"https://api.github.com/users/fooontic/events{/privacy}","received_events_url":"https://api.github.com/users/fooontic/received_events","type":"User","site_admin":false},"body":"Я переписал только на if. Как это переписать понятней, сохраняя конструкцию switch — я не знаю.","created_at":"2018-10-09T06:33:42Z","updated_at":"2018-10-09T06:33:42Z","html_url":"https://github.com/htmlacademy-javascript/96081-candyshop/pull/3#discussion_r223574564","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/comments/223574564"},"html":{"href":"https://github.com/htmlacademy-javascript/96081-candyshop/pull/3#discussion_r223574564"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3"}},"in_reply_to_id":221600459},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3","id":219324485,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MzI0NDg1","html_url":"https://github.com/htmlacademy-javascript/96081-candyshop/pull/3","diff_url":"https://github.com/htmlacademy-javascript/96081-candyshop/pull/3.diff","patch_url":"https://github.com/htmlacademy-javascript/96081-candyshop/pull/3.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues/3","number":3,"state":"open","locked":false,"title":"Module4 task1","user":{"login":"fooontic","id":12127740,"node_id":"MDQ6VXNlcjEyMTI3NzQw","avatar_url":"https://avatars3.githubusercontent.com/u/12127740?v=4","gravatar_id":"","url":"https://api.github.com/users/fooontic","html_url":"https://github.com/fooontic","followers_url":"https://api.github.com/users/fooontic/followers","following_url":"https://api.github.com/users/fooontic/following{/other_user}","gists_url":"https://api.github.com/users/fooontic/gists{/gist_id}","starred_url":"https://api.github.com/users/fooontic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooontic/subscriptions","organizations_url":"https://api.github.com/users/fooontic/orgs","repos_url":"https://api.github.com/users/fooontic/repos","events_url":"https://api.github.com/users/fooontic/events{/privacy}","received_events_url":"https://api.github.com/users/fooontic/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-01T10:17:16Z","updated_at":"2018-10-09T06:33:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d969bd941b4b85aa9f2f0eb82aea16c9ebae1688","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues/3/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/statuses/b8e9b84ce73f275e173fc20303c0ccca474b1bb4","head":{"label":"fooontic:module4-task1","ref":"module4-task1","sha":"b8e9b84ce73f275e173fc20303c0ccca474b1bb4","user":{"login":"fooontic","id":12127740,"node_id":"MDQ6VXNlcjEyMTI3NzQw","avatar_url":"https://avatars3.githubusercontent.com/u/12127740?v=4","gravatar_id":"","url":"https://api.github.com/users/fooontic","html_url":"https://github.com/fooontic","followers_url":"https://api.github.com/users/fooontic/followers","following_url":"https://api.github.com/users/fooontic/following{/other_user}","gists_url":"https://api.github.com/users/fooontic/gists{/gist_id}","starred_url":"https://api.github.com/users/fooontic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooontic/subscriptions","organizations_url":"https://api.github.com/users/fooontic/orgs","repos_url":"https://api.github.com/users/fooontic/repos","events_url":"https://api.github.com/users/fooontic/events{/privacy}","received_events_url":"https://api.github.com/users/fooontic/received_events","type":"User","site_admin":false},"repo":{"id":146997212,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5OTcyMTI=","name":"96081-candyshop","full_name":"fooontic/96081-candyshop","private":false,"owner":{"login":"fooontic","id":12127740,"node_id":"MDQ6VXNlcjEyMTI3NzQw","avatar_url":"https://avatars3.githubusercontent.com/u/12127740?v=4","gravatar_id":"","url":"https://api.github.com/users/fooontic","html_url":"https://github.com/fooontic","followers_url":"https://api.github.com/users/fooontic/followers","following_url":"https://api.github.com/users/fooontic/following{/other_user}","gists_url":"https://api.github.com/users/fooontic/gists{/gist_id}","starred_url":"https://api.github.com/users/fooontic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooontic/subscriptions","organizations_url":"https://api.github.com/users/fooontic/orgs","repos_url":"https://api.github.com/users/fooontic/repos","events_url":"https://api.github.com/users/fooontic/events{/privacy}","received_events_url":"https://api.github.com/users/fooontic/received_events","type":"User","site_admin":false},"html_url":"https://github.com/fooontic/96081-candyshop","description":"Вадим Матвеев","fork":true,"url":"https://api.github.com/repos/fooontic/96081-candyshop","forks_url":"https://api.github.com/repos/fooontic/96081-candyshop/forks","keys_url":"https://api.github.com/repos/fooontic/96081-candyshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fooontic/96081-candyshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fooontic/96081-candyshop/teams","hooks_url":"https://api.github.com/repos/fooontic/96081-candyshop/hooks","issue_events_url":"https://api.github.com/repos/fooontic/96081-candyshop/issues/events{/number}","events_url":"https://api.github.com/repos/fooontic/96081-candyshop/events","assignees_url":"https://api.github.com/repos/fooontic/96081-candyshop/assignees{/user}","branches_url":"https://api.github.com/repos/fooontic/96081-candyshop/branches{/branch}","tags_url":"https://api.github.com/repos/fooontic/96081-candyshop/tags","blobs_url":"https://api.github.com/repos/fooontic/96081-candyshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fooontic/96081-candyshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fooontic/96081-candyshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/fooontic/96081-candyshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fooontic/96081-candyshop/statuses/{sha}","languages_url":"https://api.github.com/repos/fooontic/96081-candyshop/languages","stargazers_url":"https://api.github.com/repos/fooontic/96081-candyshop/stargazers","contributors_url":"https://api.github.com/repos/fooontic/96081-candyshop/contributors","subscribers_url":"https://api.github.com/repos/fooontic/96081-candyshop/subscribers","subscription_url":"https://api.github.com/repos/fooontic/96081-candyshop/subscription","commits_url":"https://api.github.com/repos/fooontic/96081-candyshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/fooontic/96081-candyshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/fooontic/96081-candyshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/fooontic/96081-candyshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/fooontic/96081-candyshop/contents/{+path}","compare_url":"https://api.github.com/repos/fooontic/96081-candyshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fooontic/96081-candyshop/merges","archive_url":"https://api.github.com/repos/fooontic/96081-candyshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fooontic/96081-candyshop/downloads","issues_url":"https://api.github.com/repos/fooontic/96081-candyshop/issues{/number}","pulls_url":"https://api.github.com/repos/fooontic/96081-candyshop/pulls{/number}","milestones_url":"https://api.github.com/repos/fooontic/96081-candyshop/milestones{/number}","notifications_url":"https://api.github.com/repos/fooontic/96081-candyshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fooontic/96081-candyshop/labels{/name}","releases_url":"https://api.github.com/repos/fooontic/96081-candyshop/releases{/id}","deployments_url":"https://api.github.com/repos/fooontic/96081-candyshop/deployments","created_at":"2018-09-01T12:39:50Z","updated_at":"2018-09-24T20:34:04Z","pushed_at":"2018-10-06T13:01:18Z","git_url":"git://github.com/fooontic/96081-candyshop.git","ssh_url":"git@github.com:fooontic/96081-candyshop.git","clone_url":"https://github.com/fooontic/96081-candyshop.git","svn_url":"https://github.com/fooontic/96081-candyshop","homepage":null,"size":1643,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"bc02c1698d488330461054ee1a25fa20b8febfd7","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":146997134,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5OTcxMzQ=","name":"96081-candyshop","full_name":"htmlacademy-javascript/96081-candyshop","private":false,"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},"html_url":"https://github.com/htmlacademy-javascript/96081-candyshop","description":"Вадим Матвеев","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop","forks_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/deployments","created_at":"2018-09-01T12:38:47Z","updated_at":"2018-09-24T20:32:43Z","pushed_at":"2018-10-06T13:01:19Z","git_url":"git://github.com/htmlacademy-javascript/96081-candyshop.git","ssh_url":"git@github.com:htmlacademy-javascript/96081-candyshop.git","clone_url":"https://github.com/htmlacademy-javascript/96081-candyshop.git","svn_url":"https://github.com/htmlacademy-javascript/96081-candyshop","homepage":"https://github.com/fooontic/96081-candyshop","size":1620,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":false,"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/96081-candyshop/pulls/3"},"html":{"href":"https://github.com/htmlacademy-javascript/96081-candyshop/pull/3"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues/3"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/96081-candyshop/statuses/b8e9b84ce73f275e173fc20303c0ccca474b1bb4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fooontic"}}