{"action":"created","comment":{"url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/comments/243257376","pull_request_review_id":186977603,"id":243257376,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzI1NzM3Ng==","diff_hunk":"@@ -0,0 +1,284 @@\n+let friendAppInit = () => {\n+\n+    /* UI Elements selectors */\n+\n+    const uiElements = {\n+        userContentWrap: '.main-content__wrap',\n+        inputSearch: '.user-search',\n+        filterBlock: '.main-filter',\n+        loadMoreButton: '.main-content__loadmore',\n+        allGenderRadio: '.all-filter',\n+        resetFilterButton: '.main-filter__reset',\n+        header: '.header',\n+        sidebarMain: '.main-sidebar',\n+        closeFilterButton: '.main-filter__close',\n+        openFilterIcon: '.filter-open-icon',\n+        loaderWrap: '.loader-container'\n+    };\n+\n+    /* Getting UI elements */\n+\n+    for (let key in uiElements) {\n+        uiElements[key] = document.querySelector(uiElements[key]);\n+    }\n+\n+    const radioFilter = document.querySelectorAll('.radio-filter');\n+\n+    const svgIcons = {\n+        location: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512;' xml:space='preserve'> <path d='M256,0C153.755,0,70.573,83.182,70.573,185.426c0,126.888,165.939,313.167,173.004,321.035 c6.636,7.391,18.222,7.378,24.846,0c7.065-7.868,173.004-194.147,173.004-321.035C441.425,83.182,358.244,0,256,0z M256,278.719 c-51.442,0-93.292-41.851-93.292-93.293S204.559,92.134,256,92.134s93.291,41.851,93.291,93.293S307.441,278.719,256,278.719z'/></svg>\",\n+        phone: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='348.077px' height='348.077px' viewBox='0 0 348.077 348.077' style='enable-background:new 0 0 348.077 348.077;' xml:space='preserve'><path d='M340.273,275.083l-53.755-53.761c-10.707-10.664-28.438-10.34-39.518,0.744l-27.082,27.076 c-1.711-0.943-3.482-1.928-5.344-2.973c-17.102-9.476-40.509-22.464-65.14-47.113c-24.704-24.701-37.704-48.144-47.209-65.257 c-1.003-1.813-1.964-3.561-2.913-5.221l18.176-18.149l8.936-8.947c11.097-11.1,11.403-28.826,0.721-39.521L73.39,8.194 C62.708-2.486,44.969-2.162,33.872,8.938l-15.15,15.237l0.414,0.411c-5.08,6.482-9.325,13.958-12.484,22.02 C3.74,54.28,1.927,61.603,1.098,68.941C-6,127.785,20.89,181.564,93.866,254.541c100.875,100.868,182.167,93.248,185.674,92.876 c7.638-0.913,14.958-2.738,22.397-5.627c7.992-3.122,15.463-7.361,21.941-12.43l0.331,0.294l15.348-15.029 C350.631,303.527,350.95,285.795,340.273,275.083z'/></svg>\",\n+        email: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='511.626px' height='511.626px' viewBox='0 0 511.626 511.626' style='enable-background:new 0 0 511.626 511.626;' xml:space='preserve'><path d='M49.106,178.729c6.472,4.567,25.981,18.131,58.528,40.685c32.548,22.554,57.482,39.92,74.803,52.099 c1.903,1.335,5.946,4.237,12.131,8.71c6.186,4.476,11.326,8.093,15.416,10.852c4.093,2.758,9.041,5.852,14.849,9.277 c5.806,3.422,11.279,5.996,16.418,7.7c5.14,1.718,9.898,2.569,14.275,2.569h0.287h0.288c4.377,0,9.137-0.852,14.277-2.569 c5.137-1.704,10.615-4.281,16.416-7.7c5.804-3.429,10.752-6.52,14.845-9.277c4.093-2.759,9.229-6.376,15.417-10.852 c6.184-4.477,10.232-7.375,12.135-8.71c17.508-12.179,62.051-43.11,133.615-92.79c13.894-9.703,25.502-21.411,34.827-35.116 c9.332-13.699,13.993-28.07,13.993-43.105c0-12.564-4.523-23.319-13.565-32.264c-9.041-8.947-19.749-13.418-32.117-13.418H45.679 c-14.655,0-25.933,4.948-33.832,14.844C3.949,79.562,0,91.934,0,106.779c0,11.991,5.236,24.985,15.703,38.974 C26.169,159.743,37.307,170.736,49.106,178.729z'/><path d='M483.072,209.275c-62.424,42.251-109.824,75.087-142.177,98.501c-10.849,7.991-19.65,14.229-26.409,18.699 c-6.759,4.473-15.748,9.041-26.98,13.702c-11.228,4.668-21.692,6.995-31.401,6.995h-0.291h-0.287 c-9.707,0-20.177-2.327-31.405-6.995c-11.228-4.661-20.223-9.229-26.98-13.702c-6.755-4.47-15.559-10.708-26.407-18.699 c-25.697-18.842-72.995-51.68-141.896-98.501C17.987,202.047,8.375,193.762,0,184.437v226.685c0,12.57,4.471,23.319,13.418,32.265 c8.945,8.949,19.701,13.422,32.264,13.422h420.266c12.56,0,23.315-4.473,32.261-13.422c8.949-8.949,13.418-19.694,13.418-32.265 V184.437C503.441,193.569,493.927,201.854,483.072,209.275z'/></svg>\"\n+    };\n+    \n+    const urlAPI = \"https://randomuser.me/api/?nat=de&results=12&page=\";\n+\n+    /* other variables */\n+\n+    let pageCounter = 1;\n+    let usersArray = [];\n+\n+    /* creating object for storing filter state each time when filtering parameters is changed */\n+\n+    let filterState = {\n+        search: null,\n+        gender: null,\n+        sortName: null,\n+        sortAge: null\n+    };\n+\n+    /* init debounce */\n+\n+    const debounce = (func, wait, immediate) => {\n+        let timeout;\n+        return function () {\n+            let context = this, args = arguments;\n+            clearTimeout(timeout);\n+            timeout = setTimeout(() => {\n+                timeout = null;\n+                if (!immediate) func.apply(context, args);\n+            }, wait);\n+            if (immediate && !timeout) func.apply(context, args);\n+        };\n+    };\n+\n+    /* rendering array of users and appending it to wrap block */\n+\n+    let renderUsersList = (data) => {\n+        let usersContent = \"\";\n+        uiElements.userContentWrap.innerHTML = \"\";\n+\n+        for (let i = 0, len = data.length; i < len; i++) {\n+            let userItem = data[i];\n+            usersContent += \"<div class='main-content__item'>\";\n+            usersContent += \"<figure class='content-item-thumb \" + (userItem.gender === \"male\" ? \"content-item-thumb-male\" : \"content-item-thumb-female\") + \"'><img src='\"+ (userItem.picture.large ? userItem.picture.large : \"\") + \"' alt='user-thumb'></figure>\";\n+            usersContent += \"<h3 class='content-item-name'>\" + (userItem.name.first ? userItem.name.first : \"\") + \" \" + (userItem.name.last ? userItem.name.last : \"\") + \"</h3>\";\n+            usersContent += \"<div class='content-item'>Age: \" + (userItem.dob.age ? userItem.dob.age : \"\") + \"</div>\";\n+            usersContent += \"<div class='content-item'><span class='user-icon'>\" + svgIcons.phone + \"</span>\" + (userItem.phone ? \"<a href='tel:\" + userItem.phone + \"'>\" + userItem.phone + \"</a>\" : \"\") + \"</div>\";\n+            usersContent += \"<div class='content-item'><span class='user-icon'>\" + svgIcons.email + \"</span>\" + (userItem.email ? \"<a href='mailto:\" + userItem.email + \"'>\" + userItem.email + \"</a>\" : \"\") + \"</div>\";\n+            usersContent += \"<div class='content-item'><span class='user-icon'>\" + svgIcons.location + \"</span>\" + (userItem.location.city ? userItem.location.city : \"\") + \"</div>\";\n+            usersContent += \"</div>\";\n+        }\n+\n+        uiElements.userContentWrap.insertAdjacentHTML('afterbegin', usersContent);\n+        uiElements.loaderWrap.classList.remove('active');\n+\n+    };\n+\n+    const createUsersList = (data) => {\n+        usersArray = usersArray.concat(data.results);\n+        return usersArray;\n+    };\n+\n+    const getUsers = (page) => {\n+        uiElements.loaderWrap.classList.add('active');\n+        let dataURL = urlAPI + page;\n+        return fetch(dataURL).then(response => response.json());\n+    };\n+\n+    const loadUsers = (page = 1) => {\n+        getUsers(page).then(createUsersList).then(renderUsersList);\n+    };\n+\n+    loadUsers();\n+\n+    /* filtering data */\n+\n+    const getFilteredUsersList = (usersArray, filterState) => {\n+\n+        let copyUsersArray = usersArray.slice();\n+\n+        if (filterState.gender) {\n+            copyUsersArray = copyUsersArray.filter((userItem) => userItem.gender === filterState.gender);\n+        }\n+\n+        if (filterState.search) {\n+            copyUsersArray = searchFilter(copyUsersArray, filterState.search);\n+        }\n+\n+        if (filterState.sortName) {\n+            copyUsersArray = copyUsersArray.sort((a, b) => (filterState.sortName === \"desc\" ?  sortedArrayDESC(a.name.first, b.name.first) : sortedArrayASC(a.name.first, b.name.first)));\n+        }\n+\n+        if (filterState.sortAge) {\n+            copyUsersArray = copyUsersArray.sort((a, b) => (filterState.sortAge === \"desc\" ?  sortedArrayDESC(a.dob.age, b.dob.age) : sortedArrayASC(a.dob.age, b.dob.age)));\n+        }\n+\n+        return copyUsersArray;\n+\n+    };\n+\n+    /* checking value from search input for symbols count */\n+\n+    const searchHandler = ({target}) => {\n+\n+        filterState.search = target.value;\n+        renderUsersList(getFilteredUsersList(usersArray, filterState));\n+\n+    };\n+\n+    /* filtering users array by search phrase and rendering users passed filter */\n+\n+    const searchFilter = (necessaryArray, searchPhrase) => {\n+\n+        let processedSearchPhrase = searchPhrase.toLowerCase();\n+        necessaryArray = necessaryArray.filter((userItem) => {\n+\n+            return userItem.name.first.includes(processedSearchPhrase) || userItem.name.last.includes(processedSearchPhrase) || userItem.email.includes(processedSearchPhrase)\n+\n+        });\n+\n+        return necessaryArray;\n+\n+    };\n+\n+    /* init search handler with debounce function */\n+\n+    uiElements.inputSearch.addEventListener('keyup', debounce(searchHandler, 2000));\n+\n+    /* sorting methods */\n+\n+    let sortedArrayASC = (a, b) => {\n+        if (a < b) return -1;\n+        else if (a > b) return 1;\n+        return 0;\n+    };\n+\n+    let sortedArrayDESC = (a, b) => {\n+        if (a > b) return -1;\n+        else if (a < b) return 1;\n+        return 0;\n+    };\n+\n+    /* change handler for filter sidebar using event delegation */\n+\n+    const radioHandler = (event) => {\n+\n+        if (event.target.classList.contains('age-asc-filter')) {\n+            filterState.sortAge = \"asc\";\n+            filterState.sortName = null;\n+        }\n+        else if (event.target.classList.contains('age-desc-filter')) {\n+            filterState.sortAge = \"desc\";\n+            filterState.sortName = null;\n+        }\n+        else if (event.target.classList.contains('name-asc-filter')) {\n+            filterState.sortName = \"asc\";\n+            filterState.sortAge = null;\n+        }\n+        else if (event.target.classList.contains('name-desc-filter')) {\n+            filterState.sortName = \"desc\";\n+            filterState.sortAge = null;\n+        }\n+        else if (event.target.classList.contains('all-filter')) {\n+            filterState.gender = \"\";\n+        }\n+        else if (event.target.classList.contains('men-filter')) {\n+            filterState.gender = \"male\";\n+        }\n+        else if (event.target.classList.contains('women-filter')) {\n+            filterState.gender = \"female\";\n+        }\n+\n+        renderUsersList(getFilteredUsersList(usersArray, filterState));\n+\n+    };\n+\n+    /* resetting filter */\n+\n+    let resetFilter = () => {\n+\n+        uiElements.inputSearch.value = \"\";\n+\n+        radioFilter.forEach(radioFilterItem => {\n+            radioFilterItem.checked = false;\n+        });\n+\n+        uiElements.allGenderRadio.checked = true;\n+\n+        filterState = {\n+            search: null,\n+            gender: null,\n+            sortName: null,\n+            sortAge: null\n+        };\n+\n+        renderUsersList(getFilteredUsersList(usersArray, filterState));\n+\n+    };\n+\n+    /* load the next page of users */\n+\n+    const loadMoreUsers = () => {\n+        pageCounter++;\n+        resetFilter();\n+        loadUsers(pageCounter);\n+    };\n+\n+    uiElements.filterBlock.addEventListener('change', radioHandler);\n+    uiElements.loadMoreButton.addEventListener('click', loadMoreUsers);\n+    uiElements.resetFilterButton.addEventListener('click', resetFilter);\n+\n+    /* making filter fixed after user scroll */\n+\n+    const scrollHandler = () => {\n+\n+        let headerOffsetTop = uiElements.header.offsetHeight;\n+        let windowScrolltop = window.scrollY;\n+\n+        if (windowScrolltop > headerOffsetTop) {\n+            uiElements.sidebarMain.classList.add('main-sidebar-sticky')\n+        }\n+        else {\n+            uiElements.sidebarMain.classList.remove('main-sidebar-sticky')\n+        }\n+\n+    };\n+\n+    window.addEventListener('scroll', debounce(scrollHandler, 50));\n+\n+    /* adding click event listener to filter switching view */\n+\n+    uiElements.closeFilterButton.addEventListener('click', () => {\n+        uiElements.sidebarMain.classList.add('main-sidebar-closed');\n+        uiElements.openFilterIcon.classList.add('filter-open-icon-visible');\n+    });\n+\n+    uiElements.openFilterIcon.addEventListener('click', () => {\n+        uiElements.sidebarMain.classList.remove('main-sidebar-closed');\n+        uiElements.openFilterIcon.classList.remove('filter-open-icon-visible');\n+    });\n+\n+};\n+\n+document.addEventListener('DOMContentLoaded', mainHandler = () => {\n+\n+    /* init app */","path":"submissions/kalash14/friends-app/main.js","position":275,"original_position":275,"commit_id":"8f3df5e48392b756f87ff956bd82e03533ebd3b5","original_commit_id":"8f3df5e48392b756f87ff956bd82e03533ebd3b5","user":{"login":"kalash14","id":13544983,"node_id":"MDQ6VXNlcjEzNTQ0OTgz","avatar_url":"https://avatars2.githubusercontent.com/u/13544983?v=4","gravatar_id":"","url":"https://api.github.com/users/kalash14","html_url":"https://github.com/kalash14","followers_url":"https://api.github.com/users/kalash14/followers","following_url":"https://api.github.com/users/kalash14/following{/other_user}","gists_url":"https://api.github.com/users/kalash14/gists{/gist_id}","starred_url":"https://api.github.com/users/kalash14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalash14/subscriptions","organizations_url":"https://api.github.com/users/kalash14/orgs","repos_url":"https://api.github.com/users/kalash14/repos","events_url":"https://api.github.com/users/kalash14/events{/privacy}","received_events_url":"https://api.github.com/users/kalash14/received_events","type":"User","site_admin":false},"body":"Ok!","created_at":"2018-12-20T12:41:06Z","updated_at":"2018-12-20T12:41:06Z","html_url":"https://github.com/kottans/frontend-2019-homeworks/pull/104#discussion_r243257376","pull_request_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/comments/243257376"},"html":{"href":"https://github.com/kottans/frontend-2019-homeworks/pull/104#discussion_r243257376"},"pull_request":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104"}},"in_reply_to_id":243234664},"pull_request":{"url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104","id":239620902,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NjIwOTAy","html_url":"https://github.com/kottans/frontend-2019-homeworks/pull/104","diff_url":"https://github.com/kottans/frontend-2019-homeworks/pull/104.diff","patch_url":"https://github.com/kottans/frontend-2019-homeworks/pull/104.patch","issue_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues/104","number":104,"state":"open","locked":false,"title":"Friends app to review","user":{"login":"kalash14","id":13544983,"node_id":"MDQ6VXNlcjEzNTQ0OTgz","avatar_url":"https://avatars2.githubusercontent.com/u/13544983?v=4","gravatar_id":"","url":"https://api.github.com/users/kalash14","html_url":"https://github.com/kalash14","followers_url":"https://api.github.com/users/kalash14/followers","following_url":"https://api.github.com/users/kalash14/following{/other_user}","gists_url":"https://api.github.com/users/kalash14/gists{/gist_id}","starred_url":"https://api.github.com/users/kalash14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalash14/subscriptions","organizations_url":"https://api.github.com/users/kalash14/orgs","repos_url":"https://api.github.com/users/kalash14/repos","events_url":"https://api.github.com/users/kalash14/events{/privacy}","received_events_url":"https://api.github.com/users/kalash14/received_events","type":"User","site_admin":false},"body":"_Complete the form below and remove this line._\r\n\r\n### Friends App\r\n\r\n[Demo](https://kalash14.github.io/friends-app/) |\r\n[Code base](https://github.com/kalash14/friends-app)\r\n\r\nThe code is submitted in a dedicated feature branch.\r\nPlease, review.\r\n","created_at":"2018-12-18T20:26:49Z","updated_at":"2018-12-20T12:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29ea2cd1cf5e9c80848f6f96e0055ac761efeb5c","assignee":{"login":"zonzujiro","id":2997359,"node_id":"MDQ6VXNlcjI5OTczNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2997359?v=4","gravatar_id":"","url":"https://api.github.com/users/zonzujiro","html_url":"https://github.com/zonzujiro","followers_url":"https://api.github.com/users/zonzujiro/followers","following_url":"https://api.github.com/users/zonzujiro/following{/other_user}","gists_url":"https://api.github.com/users/zonzujiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zonzujiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonzujiro/subscriptions","organizations_url":"https://api.github.com/users/zonzujiro/orgs","repos_url":"https://api.github.com/users/zonzujiro/repos","events_url":"https://api.github.com/users/zonzujiro/events{/privacy}","received_events_url":"https://api.github.com/users/zonzujiro/received_events","type":"User","site_admin":false},"assignees":[{"login":"zonzujiro","id":2997359,"node_id":"MDQ6VXNlcjI5OTczNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2997359?v=4","gravatar_id":"","url":"https://api.github.com/users/zonzujiro","html_url":"https://github.com/zonzujiro","followers_url":"https://api.github.com/users/zonzujiro/followers","following_url":"https://api.github.com/users/zonzujiro/following{/other_user}","gists_url":"https://api.github.com/users/zonzujiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zonzujiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonzujiro/subscriptions","organizations_url":"https://api.github.com/users/zonzujiro/orgs","repos_url":"https://api.github.com/users/zonzujiro/repos","events_url":"https://api.github.com/users/zonzujiro/events{/privacy}","received_events_url":"https://api.github.com/users/zonzujiro/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104/commits","review_comments_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104/comments","review_comment_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues/104/comments","statuses_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/statuses/8f3df5e48392b756f87ff956bd82e03533ebd3b5","head":{"label":"kalash14:friends-app","ref":"friends-app","sha":"8f3df5e48392b756f87ff956bd82e03533ebd3b5","user":{"login":"kalash14","id":13544983,"node_id":"MDQ6VXNlcjEzNTQ0OTgz","avatar_url":"https://avatars2.githubusercontent.com/u/13544983?v=4","gravatar_id":"","url":"https://api.github.com/users/kalash14","html_url":"https://github.com/kalash14","followers_url":"https://api.github.com/users/kalash14/followers","following_url":"https://api.github.com/users/kalash14/following{/other_user}","gists_url":"https://api.github.com/users/kalash14/gists{/gist_id}","starred_url":"https://api.github.com/users/kalash14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalash14/subscriptions","organizations_url":"https://api.github.com/users/kalash14/orgs","repos_url":"https://api.github.com/users/kalash14/repos","events_url":"https://api.github.com/users/kalash14/events{/privacy}","received_events_url":"https://api.github.com/users/kalash14/received_events","type":"User","site_admin":false},"repo":{"id":157994487,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc5OTQ0ODc=","name":"frontend-2019-homeworks","full_name":"kalash14/frontend-2019-homeworks","private":false,"owner":{"login":"kalash14","id":13544983,"node_id":"MDQ6VXNlcjEzNTQ0OTgz","avatar_url":"https://avatars2.githubusercontent.com/u/13544983?v=4","gravatar_id":"","url":"https://api.github.com/users/kalash14","html_url":"https://github.com/kalash14","followers_url":"https://api.github.com/users/kalash14/followers","following_url":"https://api.github.com/users/kalash14/following{/other_user}","gists_url":"https://api.github.com/users/kalash14/gists{/gist_id}","starred_url":"https://api.github.com/users/kalash14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalash14/subscriptions","organizations_url":"https://api.github.com/users/kalash14/orgs","repos_url":"https://api.github.com/users/kalash14/repos","events_url":"https://api.github.com/users/kalash14/events{/privacy}","received_events_url":"https://api.github.com/users/kalash14/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kalash14/frontend-2019-homeworks","description":"Repo for students' homework reviews","fork":true,"url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks","forks_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/forks","keys_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/teams","hooks_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/hooks","issue_events_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/events","assignees_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/tags","blobs_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/languages","stargazers_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/stargazers","contributors_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/contributors","subscribers_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/subscribers","subscription_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/subscription","commits_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/merges","archive_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/downloads","issues_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/labels{/name}","releases_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/kalash14/frontend-2019-homeworks/deployments","created_at":"2018-11-17T14:53:12Z","updated_at":"2018-11-17T14:53:14Z","pushed_at":"2018-12-19T22:15:52Z","git_url":"git://github.com/kalash14/frontend-2019-homeworks.git","ssh_url":"git@github.com:kalash14/frontend-2019-homeworks.git","clone_url":"https://github.com/kalash14/frontend-2019-homeworks.git","svn_url":"https://github.com/kalash14/frontend-2019-homeworks","homepage":null,"size":14147,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"kottans:master","ref":"master","sha":"9ddd9a83f99c2d31142ad1b05f9c62b292bfe0ef","user":{"login":"kottans","id":6013442,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwMTM0NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/6013442?v=4","gravatar_id":"","url":"https://api.github.com/users/kottans","html_url":"https://github.com/kottans","followers_url":"https://api.github.com/users/kottans/followers","following_url":"https://api.github.com/users/kottans/following{/other_user}","gists_url":"https://api.github.com/users/kottans/gists{/gist_id}","starred_url":"https://api.github.com/users/kottans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kottans/subscriptions","organizations_url":"https://api.github.com/users/kottans/orgs","repos_url":"https://api.github.com/users/kottans/repos","events_url":"https://api.github.com/users/kottans/events{/privacy}","received_events_url":"https://api.github.com/users/kottans/received_events","type":"Organization","site_admin":false},"repo":{"id":155096157,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUwOTYxNTc=","name":"frontend-2019-homeworks","full_name":"kottans/frontend-2019-homeworks","private":false,"owner":{"login":"kottans","id":6013442,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwMTM0NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/6013442?v=4","gravatar_id":"","url":"https://api.github.com/users/kottans","html_url":"https://github.com/kottans","followers_url":"https://api.github.com/users/kottans/followers","following_url":"https://api.github.com/users/kottans/following{/other_user}","gists_url":"https://api.github.com/users/kottans/gists{/gist_id}","starred_url":"https://api.github.com/users/kottans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kottans/subscriptions","organizations_url":"https://api.github.com/users/kottans/orgs","repos_url":"https://api.github.com/users/kottans/repos","events_url":"https://api.github.com/users/kottans/events{/privacy}","received_events_url":"https://api.github.com/users/kottans/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kottans/frontend-2019-homeworks","description":"Repo for students' homework reviews","fork":false,"url":"https://api.github.com/repos/kottans/frontend-2019-homeworks","forks_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/forks","keys_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/teams","hooks_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/hooks","issue_events_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/events","assignees_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/tags","blobs_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/languages","stargazers_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/stargazers","contributors_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/contributors","subscribers_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/subscribers","subscription_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/subscription","commits_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/merges","archive_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/downloads","issues_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/labels{/name}","releases_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/kottans/frontend-2019-homeworks/deployments","created_at":"2018-10-28T17:21:19Z","updated_at":"2018-12-20T08:29:17Z","pushed_at":"2018-12-20T11:36:26Z","git_url":"git://github.com/kottans/frontend-2019-homeworks.git","ssh_url":"git@github.com:kottans/frontend-2019-homeworks.git","clone_url":"https://github.com/kottans/frontend-2019-homeworks.git","svn_url":"https://github.com/kottans/frontend-2019-homeworks","homepage":null,"size":14251,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":38,"open_issues":17,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104"},"html":{"href":"https://github.com/kottans/frontend-2019-homeworks/pull/104"},"issue":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues/104"},"comments":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/kottans/frontend-2019-homeworks/statuses/8f3df5e48392b756f87ff956bd82e03533ebd3b5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kalash14"}}