{"action":"created","comment":{"url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/comments/46009329","id":46009329,"diff_hunk":"@@ -3,70 +3,181 @@\n (function() {\n   // Контейнер фотографий\n   var container = document.querySelector('.pictures');\n+  var activeFilter = 'filter-popular';\n+  var pictures = [];\n+\n+\n+  var filterForm = document.querySelector('.filters');\n+  var filters = document.querySelectorAll('.filters-radio');\n+  for (var i = 0; i < filters.length; i++) {\n+    filters[i].onclick = function(evt) {\n+      var clickedElementID = evt.target.id;\n+      setActiveFilter(clickedElementID);\n+    };\n+  }\n+\n+  getPictures();\n+\n+  /**\n+   * Отрисовка картинок\n+   * @param  {Array.<Object>} pictures\n+   */\n+  function renderPictures(picturesToRender) {\n+    container.innerHTML = '';\n+    var fragment = document.createDocumentFragment();\n \n-  // Проверяем массив на существование\n-  if (typeof (pictures) !== 'undefined') {\n     // Перебираем все элементы в структуре данных\n-    pictures.forEach(function(picture) {\n+    picturesToRender.forEach(function(picture) {\n       var element = getElementFromTemplate(picture);\n-      container.appendChild(element);\n+      // Запихиваем в контейнер DocumentFragment\n+      fragment.appendChild(element);\n     });\n \n-    /**\n-     * Создаем DOM-элемент на основе шаблона\n-     * @param  {Object} data\n-     * @return {Element}\n-     */\n-    function getElementFromTemplate(data) {\n-      var template = document.querySelector('#picture-template');\n-\n-      var element;\n-      // Улучшаем поддержку для старых IE\n-      if ('content' in template) {\n-        element = template.content.children[0].cloneNode(true);\n-      } else {\n-        element = template.children[0].cloneNode(true);\n-      }\n-\n-      // Добавляем информацию о фотографии\n-      element.querySelector('.picture-comments').textContent = data.comments;\n-      element.querySelector('.picture-likes').textContent = data.likes;\n-\n-      var backgroundImage = new Image();\n-\n-      // Время ожидания ответа от сервера\n-      var IMAGE_TIMEOUT = 10000;\n-\n-      // Если сервер не отдал нам картинку\n-      var imageLoadTimeout = setTimeout(function() {\n-        backgroundImage.src = '';\n-        element.classList.add('picture-load-failure');\n-      }, IMAGE_TIMEOUT);\n-\n-      // Обработчик загрузки фотографии\n-      backgroundImage.onload = function() {\n-        clearTimeout(imageLoadTimeout);\n-        element.style.backgroundImage = 'url(\\'' + backgroundImage.src + '\\')';\n-      };\n-\n-      // Обрабатываем ошибку\n-      backgroundImage.onerror = function() {\n-        element.classList.add('picture-load-failure');\n-      };\n-\n-      // Добавляем картинку в src\n-      backgroundImage.src = '/' + data.url;\n-      backgroundImage.setAttribute('width', '182px');\n-      backgroundImage.setAttribute('height', '182px');\n-\n-      // Заменяем img из шаблона на созданный backgroundImage\n-      element.replaceChild(backgroundImage, element.children[0]);\n-\n-      return element;\n+    // Анимируем отрисовку картинок\n+    var pics = fragment.querySelectorAll('.picture');\n+    for (i = 0; i < pics.length; i++) {\n+      appearPicture(pics[i], i);\n+    }\n+\n+    container.appendChild(fragment);\n+  }\n+\n+  /**\n+   * Добавляем анимацию появления картинок\n+   * @param {Array.<Object>} pic\n+   */\n+  function appearPicture(pic, number) {\n+    setTimeout(function() {\n+      pic.classList.add('picture--show');\n+    }, number * 30);\n+  }\n+\n+  /**\n+   * Получение списка картинок\n+   */\n+  function getPictures() {\n+    var xhr = new XMLHttpRequest();\n+    xhr.open('GET', 'data/pictures.json');\n+    xhr.onload = function(evt) {\n+      var rawData = evt.target.responseText;\n+      var loadedPictures = JSON.parse(rawData);\n+\n+      // Обновление списка картинок\n+      updateLoadedPictures(loadedPictures);\n+    };\n+\n+    xhr.send();\n+  }\n+\n+  /**\n+   * Сохранение списка картинок в переменную pictures, обновление счетчика отелей\n+   * и вызов фильтрации и отрисовки.\n+   * @param {Array.<Object>} loadedPictures\n+   */\n+  function updateLoadedPictures(loadedPictures) {\n+    pictures = loadedPictures;\n+\n+    // Отрисовка полученных картинок\n+    setActiveFilter(activeFilter, true);\n+  }\n+\n+\n+  /**\n+   * Установка выбранного фильтра\n+   * @param {string} id\n+   * @param {boolean} force [Флаг на игнорирование проверки]\n+   */\n+  function setActiveFilter(id, force) {\n+    // Проверяем на идентичность\n+    if (activeFilter === id && !force) {\n+      return;\n     }\n+\n+    // Копирование массива\n+    var filteredPictures = pictures.slice(0);\n+\n+    switch (id) {\n+      case 'filter-popular':\n+        filteredPictures = filteredPictures.sort(function(pic1, pic2) {\n+          return pic2.likes - pic1.likes;\n+        });\n+        break;\n+      case 'filter-new':\n+        // Удаляем все фотографии старше одного месяца\n+        filteredPictures = filteredPictures.filter(function(pic) {\n+          var oneMonthAgo = new Date(Date.now() - 31 * 24 * 60 * 60 * 1000);\n+          return Date.parse(pic.date) > oneMonthAgo.valueOf();\n+        });\n+\n+        filteredPictures = filteredPictures.sort(function(pic1, pic2) {\n+          return Date.parse(pic2.date) - Date.parse(pic1.date);\n+        });\n+        break;\n+      case 'filter-discussed':\n+        filteredPictures = filteredPictures.sort(function(pic1, pic2) {\n+          return pic2.comments - pic1.comments;\n+        });\n+        break;\n+    }\n+\n+    renderPictures(filteredPictures);\n+\n+    activeFilter = id;\n+  }\n+\n+  /**\n+   * Создаем DOM-элемент на основе шаблона\n+   * @param  {Object} data\n+   * @return {Element}\n+   */\n+  function getElementFromTemplate(data) {\n+    var template = document.querySelector('#picture-template');\n+\n+    var element;\n+    // Улучшаем поддержку для старых IE\n+    if ('content' in template) {\n+      element = template.content.children[0].cloneNode(true);\n+    } else {\n+      element = template.children[0].cloneNode(true);\n+    }\n+\n+    // Добавляем информацию о фотографии\n+    element.querySelector('.picture-comments').textContent = data.comments;\n+    element.querySelector('.picture-likes').textContent = data.likes;\n+\n+    var backgroundImage = new Image();\n+\n+    // Время ожидания ответа от сервера\n+    var IMAGE_TIMEOUT = 10000;\n+\n+    // Если сервер не отдал нам картинку\n+    var imageLoadTimeout = setTimeout(function() {\n+      backgroundImage.src = '';\n+      element.classList.add('picture-load-failure');\n+    }, IMAGE_TIMEOUT);\n+\n+    // Обработчик загрузки фотографии\n+    backgroundImage.onload = function() {\n+      clearTimeout(imageLoadTimeout);\n+      element.style.backgroundImage = 'url(\\'' + backgroundImage.src + '\\')';\n+    };\n+\n+    // Обрабатываем ошибку\n+    backgroundImage.onerror = function() {\n+      element.classList.add('picture-load-failure');\n+    };\n+\n+    // Добавляем картинку в src\n+    backgroundImage.src = '/' + data.url;","path":"js/pictures.js","position":224,"original_position":224,"commit_id":"dc1f39f8959de2a49a75e1577a69dad18293044c","original_commit_id":"dc1f39f8959de2a49a75e1577a69dad18293044c","user":{"login":"o0","id":696826,"avatar_url":"https://avatars.githubusercontent.com/u/696826?v=3","gravatar_id":"","url":"https://api.github.com/users/o0","html_url":"https://github.com/o0","followers_url":"https://api.github.com/users/o0/followers","following_url":"https://api.github.com/users/o0/following{/other_user}","gists_url":"https://api.github.com/users/o0/gists{/gist_id}","starred_url":"https://api.github.com/users/o0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o0/subscriptions","organizations_url":"https://api.github.com/users/o0/orgs","repos_url":"https://api.github.com/users/o0/repos","events_url":"https://api.github.com/users/o0/events{/privacy}","received_events_url":"https://api.github.com/users/o0/received_events","type":"User","site_admin":false},"body":"![screen shot 2015-11-27 at 01 44 54](https://cloud.githubusercontent.com/assets/696826/11431412/821982d6-94a8-11e5-9ce2-b012c9b3d02b.png)\r\n","created_at":"2015-11-26T22:45:20Z","updated_at":"2015-11-26T22:45:20Z","html_url":"https://github.com/js-htmlacademy/67135-keksogram/pull/9#discussion_r46009329","pull_request_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/comments/46009329"},"html":{"href":"https://github.com/js-htmlacademy/67135-keksogram/pull/9#discussion_r46009329"},"pull_request":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9","id":51948741,"html_url":"https://github.com/js-htmlacademy/67135-keksogram/pull/9","diff_url":"https://github.com/js-htmlacademy/67135-keksogram/pull/9.diff","patch_url":"https://github.com/js-htmlacademy/67135-keksogram/pull/9.patch","issue_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues/9","number":9,"state":"open","locked":false,"title":"Робкое знакомство с AJAX","user":{"login":"leonidlebedev","id":12189820,"avatar_url":"https://avatars.githubusercontent.com/u/12189820?v=3","gravatar_id":"","url":"https://api.github.com/users/leonidlebedev","html_url":"https://github.com/leonidlebedev","followers_url":"https://api.github.com/users/leonidlebedev/followers","following_url":"https://api.github.com/users/leonidlebedev/following{/other_user}","gists_url":"https://api.github.com/users/leonidlebedev/gists{/gist_id}","starred_url":"https://api.github.com/users/leonidlebedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonidlebedev/subscriptions","organizations_url":"https://api.github.com/users/leonidlebedev/orgs","repos_url":"https://api.github.com/users/leonidlebedev/repos","events_url":"https://api.github.com/users/leonidlebedev/events{/privacy}","received_events_url":"https://api.github.com/users/leonidlebedev/received_events","type":"User","site_admin":false},"body":"\n\n--\n:boom: https://js-htmlacademy.github.io/67135-keksogram/9/","created_at":"2015-11-26T22:35:43Z","updated_at":"2015-11-26T22:45:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2f393ac55cdd97bbf6e77a2973ab5af906b9965","assignee":{"login":"rieset","id":1199630,"avatar_url":"https://avatars.githubusercontent.com/u/1199630?v=3","gravatar_id":"","url":"https://api.github.com/users/rieset","html_url":"https://github.com/rieset","followers_url":"https://api.github.com/users/rieset/followers","following_url":"https://api.github.com/users/rieset/following{/other_user}","gists_url":"https://api.github.com/users/rieset/gists{/gist_id}","starred_url":"https://api.github.com/users/rieset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rieset/subscriptions","organizations_url":"https://api.github.com/users/rieset/orgs","repos_url":"https://api.github.com/users/rieset/repos","events_url":"https://api.github.com/users/rieset/events{/privacy}","received_events_url":"https://api.github.com/users/rieset/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9/commits","review_comments_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9/comments","review_comment_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues/9/comments","statuses_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/statuses/dc1f39f8959de2a49a75e1577a69dad18293044c","head":{"label":"leonidlebedev:module5-task1","ref":"module5-task1","sha":"dc1f39f8959de2a49a75e1577a69dad18293044c","user":{"login":"leonidlebedev","id":12189820,"avatar_url":"https://avatars.githubusercontent.com/u/12189820?v=3","gravatar_id":"","url":"https://api.github.com/users/leonidlebedev","html_url":"https://github.com/leonidlebedev","followers_url":"https://api.github.com/users/leonidlebedev/followers","following_url":"https://api.github.com/users/leonidlebedev/following{/other_user}","gists_url":"https://api.github.com/users/leonidlebedev/gists{/gist_id}","starred_url":"https://api.github.com/users/leonidlebedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonidlebedev/subscriptions","organizations_url":"https://api.github.com/users/leonidlebedev/orgs","repos_url":"https://api.github.com/users/leonidlebedev/repos","events_url":"https://api.github.com/users/leonidlebedev/events{/privacy}","received_events_url":"https://api.github.com/users/leonidlebedev/received_events","type":"User","site_admin":false},"repo":{"id":45938241,"name":"67135-keksogram","full_name":"leonidlebedev/67135-keksogram","owner":{"login":"leonidlebedev","id":12189820,"avatar_url":"https://avatars.githubusercontent.com/u/12189820?v=3","gravatar_id":"","url":"https://api.github.com/users/leonidlebedev","html_url":"https://github.com/leonidlebedev","followers_url":"https://api.github.com/users/leonidlebedev/followers","following_url":"https://api.github.com/users/leonidlebedev/following{/other_user}","gists_url":"https://api.github.com/users/leonidlebedev/gists{/gist_id}","starred_url":"https://api.github.com/users/leonidlebedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonidlebedev/subscriptions","organizations_url":"https://api.github.com/users/leonidlebedev/orgs","repos_url":"https://api.github.com/users/leonidlebedev/repos","events_url":"https://api.github.com/users/leonidlebedev/events{/privacy}","received_events_url":"https://api.github.com/users/leonidlebedev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leonidlebedev/67135-keksogram","description":"Leonid Lebedev","fork":true,"url":"https://api.github.com/repos/leonidlebedev/67135-keksogram","forks_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/forks","keys_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/teams","hooks_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/hooks","issue_events_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/issues/events{/number}","events_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/events","assignees_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/assignees{/user}","branches_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/branches{/branch}","tags_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/tags","blobs_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/statuses/{sha}","languages_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/languages","stargazers_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/stargazers","contributors_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/contributors","subscribers_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/subscribers","subscription_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/subscription","commits_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/contents/{+path}","compare_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/merges","archive_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/downloads","issues_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/issues{/number}","pulls_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/pulls{/number}","milestones_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/milestones{/number}","notifications_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/labels{/name}","releases_url":"https://api.github.com/repos/leonidlebedev/67135-keksogram/releases{/id}","created_at":"2015-11-10T20:28:27Z","updated_at":"2015-11-10T20:28:28Z","pushed_at":"2015-11-26T22:39:53Z","git_url":"git://github.com/leonidlebedev/67135-keksogram.git","ssh_url":"git@github.com:leonidlebedev/67135-keksogram.git","clone_url":"https://github.com/leonidlebedev/67135-keksogram.git","svn_url":"https://github.com/leonidlebedev/67135-keksogram","homepage":null,"size":3776,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"js-htmlacademy:master","ref":"master","sha":"f49b01f5b976cff88804ef314b4f89e6cdbb5c4e","user":{"login":"js-htmlacademy","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/js-htmlacademy","html_url":"https://github.com/js-htmlacademy","followers_url":"https://api.github.com/users/js-htmlacademy/followers","following_url":"https://api.github.com/users/js-htmlacademy/following{/other_user}","gists_url":"https://api.github.com/users/js-htmlacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/js-htmlacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/js-htmlacademy/subscriptions","organizations_url":"https://api.github.com/users/js-htmlacademy/orgs","repos_url":"https://api.github.com/users/js-htmlacademy/repos","events_url":"https://api.github.com/users/js-htmlacademy/events{/privacy}","received_events_url":"https://api.github.com/users/js-htmlacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":45937969,"name":"67135-keksogram","full_name":"js-htmlacademy/67135-keksogram","owner":{"login":"js-htmlacademy","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/js-htmlacademy","html_url":"https://github.com/js-htmlacademy","followers_url":"https://api.github.com/users/js-htmlacademy/followers","following_url":"https://api.github.com/users/js-htmlacademy/following{/other_user}","gists_url":"https://api.github.com/users/js-htmlacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/js-htmlacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/js-htmlacademy/subscriptions","organizations_url":"https://api.github.com/users/js-htmlacademy/orgs","repos_url":"https://api.github.com/users/js-htmlacademy/repos","events_url":"https://api.github.com/users/js-htmlacademy/events{/privacy}","received_events_url":"https://api.github.com/users/js-htmlacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/js-htmlacademy/67135-keksogram","description":"Leonid Lebedev","fork":false,"url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram","forks_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/forks","keys_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/teams","hooks_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/hooks","issue_events_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues/events{/number}","events_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/events","assignees_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/assignees{/user}","branches_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/branches{/branch}","tags_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/tags","blobs_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/statuses/{sha}","languages_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/languages","stargazers_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/stargazers","contributors_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/contributors","subscribers_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/subscribers","subscription_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/subscription","commits_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/contents/{+path}","compare_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/merges","archive_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/downloads","issues_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues{/number}","pulls_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls{/number}","milestones_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/milestones{/number}","notifications_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/labels{/name}","releases_url":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/releases{/id}","created_at":"2015-11-10T20:23:02Z","updated_at":"2015-11-15T21:02:42Z","pushed_at":"2015-11-26T22:40:43Z","git_url":"git://github.com/js-htmlacademy/67135-keksogram.git","ssh_url":"git@github.com:js-htmlacademy/67135-keksogram.git","clone_url":"https://github.com/js-htmlacademy/67135-keksogram.git","svn_url":"https://github.com/js-htmlacademy/67135-keksogram","homepage":"https://github.com/leonidlebedev/67135-keksogram","size":3786,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9"},"html":{"href":"https://github.com/js-htmlacademy/67135-keksogram/pull/9"},"issue":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues/9"},"comments":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/js-htmlacademy/67135-keksogram/statuses/dc1f39f8959de2a49a75e1577a69dad18293044c"}}}}