{"action":"created","comment":{"url":"https://api.github.com/repos/var-bin/adv-fe/pulls/comments/66055585","id":66055585,"diff_hunk":"@@ -0,0 +1,225 @@\n+/**\n+ * @param {object} options - List of params\n+ */\n+var stage0 = (function (options) {\n+  'use strict';\n+\n+  // constants\n+  var BASE_URL = options.jsonServerBaseUrl,\n+      USERS_URL = BASE_URL + options.usersUrl,\n+      POSTS_URL = BASE_URL + options.postsUrl;\n+\n+  // request data by promise\n+  var usersPromise = fetch(USERS_URL).then(function (res) {\n+        return res.json();\n+      }),\n+      postsPromise = fetch(POSTS_URL).then(function (res) {\n+        return res.json();\n+      }),\n+      // save data\n+      postsData = postsPromise.then(function (json) {","path":"l7-hw/stage0/client_src/test.js","position":20,"original_position":20,"commit_id":"8eb36dea3e94fde4136861ecafebff194acbec32","original_commit_id":"8eb36dea3e94fde4136861ecafebff194acbec32","user":{"login":"okonkwo","id":2458394,"avatar_url":"https://avatars.githubusercontent.com/u/2458394?v=3","gravatar_id":"","url":"https://api.github.com/users/okonkwo","html_url":"https://github.com/okonkwo","followers_url":"https://api.github.com/users/okonkwo/followers","following_url":"https://api.github.com/users/okonkwo/following{/other_user}","gists_url":"https://api.github.com/users/okonkwo/gists{/gist_id}","starred_url":"https://api.github.com/users/okonkwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okonkwo/subscriptions","organizations_url":"https://api.github.com/users/okonkwo/orgs","repos_url":"https://api.github.com/users/okonkwo/repos","events_url":"https://api.github.com/users/okonkwo/events{/privacy}","received_events_url":"https://api.github.com/users/okonkwo/received_events","type":"User","site_admin":false},"body":"unused variable","created_at":"2016-06-07T11:47:43Z","updated_at":"2016-06-07T11:47:43Z","html_url":"https://github.com/var-bin/adv-fe/pull/5#discussion_r66055585","pull_request_url":"https://api.github.com/repos/var-bin/adv-fe/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/var-bin/adv-fe/pulls/comments/66055585"},"html":{"href":"https://github.com/var-bin/adv-fe/pull/5#discussion_r66055585"},"pull_request":{"href":"https://api.github.com/repos/var-bin/adv-fe/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/var-bin/adv-fe/pulls/5","id":72071862,"html_url":"https://github.com/var-bin/adv-fe/pull/5","diff_url":"https://github.com/var-bin/adv-fe/pull/5.diff","patch_url":"https://github.com/var-bin/adv-fe/pull/5.patch","issue_url":"https://api.github.com/repos/var-bin/adv-fe/issues/5","number":5,"state":"open","locked":false,"title":"L7 hw","user":{"login":"var-bin","id":3194163,"avatar_url":"https://avatars.githubusercontent.com/u/3194163?v=3","gravatar_id":"","url":"https://api.github.com/users/var-bin","html_url":"https://github.com/var-bin","followers_url":"https://api.github.com/users/var-bin/followers","following_url":"https://api.github.com/users/var-bin/following{/other_user}","gists_url":"https://api.github.com/users/var-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/var-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/var-bin/subscriptions","organizations_url":"https://api.github.com/users/var-bin/orgs","repos_url":"https://api.github.com/users/var-bin/repos","events_url":"https://api.github.com/users/var-bin/events{/privacy}","received_events_url":"https://api.github.com/users/var-bin/received_events","type":"User","site_admin":false},"body":"I have done the first part of task\r\nWe need to talk about it. Code review is awesome","created_at":"2016-05-31T19:27:49Z","updated_at":"2016-06-07T11:47:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77e72e323065d8180393bda0d2ac29e059789215","assignee":null,"milestone":{"url":"https://api.github.com/repos/var-bin/adv-fe/milestones/5","html_url":"https://github.com/var-bin/adv-fe/milestones/l7-ht%20first%20part","labels_url":"https://api.github.com/repos/var-bin/adv-fe/milestones/5/labels","id":1799589,"number":5,"title":"l7-ht first part","description":null,"creator":{"login":"var-bin","id":3194163,"avatar_url":"https://avatars.githubusercontent.com/u/3194163?v=3","gravatar_id":"","url":"https://api.github.com/users/var-bin","html_url":"https://github.com/var-bin","followers_url":"https://api.github.com/users/var-bin/followers","following_url":"https://api.github.com/users/var-bin/following{/other_user}","gists_url":"https://api.github.com/users/var-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/var-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/var-bin/subscriptions","organizations_url":"https://api.github.com/users/var-bin/orgs","repos_url":"https://api.github.com/users/var-bin/repos","events_url":"https://api.github.com/users/var-bin/events{/privacy}","received_events_url":"https://api.github.com/users/var-bin/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-05-31T19:28:03Z","updated_at":"2016-05-31T19:28:03Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/var-bin/adv-fe/pulls/5/commits","review_comments_url":"https://api.github.com/repos/var-bin/adv-fe/pulls/5/comments","review_comment_url":"https://api.github.com/repos/var-bin/adv-fe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/var-bin/adv-fe/issues/5/comments","statuses_url":"https://api.github.com/repos/var-bin/adv-fe/statuses/8eb36dea3e94fde4136861ecafebff194acbec32","head":{"label":"var-bin:l7-hw","ref":"l7-hw","sha":"8eb36dea3e94fde4136861ecafebff194acbec32","user":{"login":"var-bin","id":3194163,"avatar_url":"https://avatars.githubusercontent.com/u/3194163?v=3","gravatar_id":"","url":"https://api.github.com/users/var-bin","html_url":"https://github.com/var-bin","followers_url":"https://api.github.com/users/var-bin/followers","following_url":"https://api.github.com/users/var-bin/following{/other_user}","gists_url":"https://api.github.com/users/var-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/var-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/var-bin/subscriptions","organizations_url":"https://api.github.com/users/var-bin/orgs","repos_url":"https://api.github.com/users/var-bin/repos","events_url":"https://api.github.com/users/var-bin/events{/privacy}","received_events_url":"https://api.github.com/users/var-bin/received_events","type":"User","site_admin":false},"repo":{"id":57148108,"name":"adv-fe","full_name":"var-bin/adv-fe","owner":{"login":"var-bin","id":3194163,"avatar_url":"https://avatars.githubusercontent.com/u/3194163?v=3","gravatar_id":"","url":"https://api.github.com/users/var-bin","html_url":"https://github.com/var-bin","followers_url":"https://api.github.com/users/var-bin/followers","following_url":"https://api.github.com/users/var-bin/following{/other_user}","gists_url":"https://api.github.com/users/var-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/var-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/var-bin/subscriptions","organizations_url":"https://api.github.com/users/var-bin/orgs","repos_url":"https://api.github.com/users/var-bin/repos","events_url":"https://api.github.com/users/var-bin/events{/privacy}","received_events_url":"https://api.github.com/users/var-bin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/var-bin/adv-fe","description":"test project for Advanced Front-end 2","fork":false,"url":"https://api.github.com/repos/var-bin/adv-fe","forks_url":"https://api.github.com/repos/var-bin/adv-fe/forks","keys_url":"https://api.github.com/repos/var-bin/adv-fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/var-bin/adv-fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/var-bin/adv-fe/teams","hooks_url":"https://api.github.com/repos/var-bin/adv-fe/hooks","issue_events_url":"https://api.github.com/repos/var-bin/adv-fe/issues/events{/number}","events_url":"https://api.github.com/repos/var-bin/adv-fe/events","assignees_url":"https://api.github.com/repos/var-bin/adv-fe/assignees{/user}","branches_url":"https://api.github.com/repos/var-bin/adv-fe/branches{/branch}","tags_url":"https://api.github.com/repos/var-bin/adv-fe/tags","blobs_url":"https://api.github.com/repos/var-bin/adv-fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/var-bin/adv-fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/var-bin/adv-fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/var-bin/adv-fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/var-bin/adv-fe/statuses/{sha}","languages_url":"https://api.github.com/repos/var-bin/adv-fe/languages","stargazers_url":"https://api.github.com/repos/var-bin/adv-fe/stargazers","contributors_url":"https://api.github.com/repos/var-bin/adv-fe/contributors","subscribers_url":"https://api.github.com/repos/var-bin/adv-fe/subscribers","subscription_url":"https://api.github.com/repos/var-bin/adv-fe/subscription","commits_url":"https://api.github.com/repos/var-bin/adv-fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/var-bin/adv-fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/var-bin/adv-fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/var-bin/adv-fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/var-bin/adv-fe/contents/{+path}","compare_url":"https://api.github.com/repos/var-bin/adv-fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/var-bin/adv-fe/merges","archive_url":"https://api.github.com/repos/var-bin/adv-fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/var-bin/adv-fe/downloads","issues_url":"https://api.github.com/repos/var-bin/adv-fe/issues{/number}","pulls_url":"https://api.github.com/repos/var-bin/adv-fe/pulls{/number}","milestones_url":"https://api.github.com/repos/var-bin/adv-fe/milestones{/number}","notifications_url":"https://api.github.com/repos/var-bin/adv-fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/var-bin/adv-fe/labels{/name}","releases_url":"https://api.github.com/repos/var-bin/adv-fe/releases{/id}","deployments_url":"https://api.github.com/repos/var-bin/adv-fe/deployments","created_at":"2016-04-26T17:25:01Z","updated_at":"2016-05-06T20:17:58Z","pushed_at":"2016-06-06T21:21:42Z","git_url":"git://github.com/var-bin/adv-fe.git","ssh_url":"git@github.com:var-bin/adv-fe.git","clone_url":"https://github.com/var-bin/adv-fe.git","svn_url":"https://github.com/var-bin/adv-fe","homepage":null,"size":4298,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"var-bin:master","ref":"master","sha":"203fd7fd733763b39b646a7af769d3d8dea6f401","user":{"login":"var-bin","id":3194163,"avatar_url":"https://avatars.githubusercontent.com/u/3194163?v=3","gravatar_id":"","url":"https://api.github.com/users/var-bin","html_url":"https://github.com/var-bin","followers_url":"https://api.github.com/users/var-bin/followers","following_url":"https://api.github.com/users/var-bin/following{/other_user}","gists_url":"https://api.github.com/users/var-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/var-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/var-bin/subscriptions","organizations_url":"https://api.github.com/users/var-bin/orgs","repos_url":"https://api.github.com/users/var-bin/repos","events_url":"https://api.github.com/users/var-bin/events{/privacy}","received_events_url":"https://api.github.com/users/var-bin/received_events","type":"User","site_admin":false},"repo":{"id":57148108,"name":"adv-fe","full_name":"var-bin/adv-fe","owner":{"login":"var-bin","id":3194163,"avatar_url":"https://avatars.githubusercontent.com/u/3194163?v=3","gravatar_id":"","url":"https://api.github.com/users/var-bin","html_url":"https://github.com/var-bin","followers_url":"https://api.github.com/users/var-bin/followers","following_url":"https://api.github.com/users/var-bin/following{/other_user}","gists_url":"https://api.github.com/users/var-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/var-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/var-bin/subscriptions","organizations_url":"https://api.github.com/users/var-bin/orgs","repos_url":"https://api.github.com/users/var-bin/repos","events_url":"https://api.github.com/users/var-bin/events{/privacy}","received_events_url":"https://api.github.com/users/var-bin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/var-bin/adv-fe","description":"test project for Advanced Front-end 2","fork":false,"url":"https://api.github.com/repos/var-bin/adv-fe","forks_url":"https://api.github.com/repos/var-bin/adv-fe/forks","keys_url":"https://api.github.com/repos/var-bin/adv-fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/var-bin/adv-fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/var-bin/adv-fe/teams","hooks_url":"https://api.github.com/repos/var-bin/adv-fe/hooks","issue_events_url":"https://api.github.com/repos/var-bin/adv-fe/issues/events{/number}","events_url":"https://api.github.com/repos/var-bin/adv-fe/events","assignees_url":"https://api.github.com/repos/var-bin/adv-fe/assignees{/user}","branches_url":"https://api.github.com/repos/var-bin/adv-fe/branches{/branch}","tags_url":"https://api.github.com/repos/var-bin/adv-fe/tags","blobs_url":"https://api.github.com/repos/var-bin/adv-fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/var-bin/adv-fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/var-bin/adv-fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/var-bin/adv-fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/var-bin/adv-fe/statuses/{sha}","languages_url":"https://api.github.com/repos/var-bin/adv-fe/languages","stargazers_url":"https://api.github.com/repos/var-bin/adv-fe/stargazers","contributors_url":"https://api.github.com/repos/var-bin/adv-fe/contributors","subscribers_url":"https://api.github.com/repos/var-bin/adv-fe/subscribers","subscription_url":"https://api.github.com/repos/var-bin/adv-fe/subscription","commits_url":"https://api.github.com/repos/var-bin/adv-fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/var-bin/adv-fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/var-bin/adv-fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/var-bin/adv-fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/var-bin/adv-fe/contents/{+path}","compare_url":"https://api.github.com/repos/var-bin/adv-fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/var-bin/adv-fe/merges","archive_url":"https://api.github.com/repos/var-bin/adv-fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/var-bin/adv-fe/downloads","issues_url":"https://api.github.com/repos/var-bin/adv-fe/issues{/number}","pulls_url":"https://api.github.com/repos/var-bin/adv-fe/pulls{/number}","milestones_url":"https://api.github.com/repos/var-bin/adv-fe/milestones{/number}","notifications_url":"https://api.github.com/repos/var-bin/adv-fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/var-bin/adv-fe/labels{/name}","releases_url":"https://api.github.com/repos/var-bin/adv-fe/releases{/id}","deployments_url":"https://api.github.com/repos/var-bin/adv-fe/deployments","created_at":"2016-04-26T17:25:01Z","updated_at":"2016-05-06T20:17:58Z","pushed_at":"2016-06-06T21:21:42Z","git_url":"git://github.com/var-bin/adv-fe.git","ssh_url":"git@github.com:var-bin/adv-fe.git","clone_url":"https://github.com/var-bin/adv-fe.git","svn_url":"https://github.com/var-bin/adv-fe","homepage":null,"size":4298,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/var-bin/adv-fe/pulls/5"},"html":{"href":"https://github.com/var-bin/adv-fe/pull/5"},"issue":{"href":"https://api.github.com/repos/var-bin/adv-fe/issues/5"},"comments":{"href":"https://api.github.com/repos/var-bin/adv-fe/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/var-bin/adv-fe/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/var-bin/adv-fe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/var-bin/adv-fe/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/var-bin/adv-fe/statuses/8eb36dea3e94fde4136861ecafebff194acbec32"}}}}
{"actor":{"display_login":"okonkwo"}}