{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/72993285","id":72993285,"diff_hunk":"@@ -215,8 +215,22 @@ function getCopyrightData(event) {\n \n function foldByLevel(sponsors ,reqOpts) {\n   let levelData = {};\n-\n+  let level1=0,level2=0,level3=0;\n   const appFolder = reqOpts.email + '/' + slugify(reqOpts.name);\n+  sponsors.forEach( (sponsor) => {\n+    if(sponsor.level===\"1\" && (sponsor.logo !== null||\" \")){\n+      level1++;\n+    }\n+    if (sponsor.level===\"2\" && (sponsor.logo !== null||\" \")) {\n+       level2++;\n+    }\n+     if (sponsor.level===\"3\" && (sponsor.logo !== null||\" \")) {\n+       level3++;\n+    }\n+\n+  });\n+  console.log(level2);","path":"src/generator/backend/fold.js","position":19,"original_position":19,"commit_id":"d882383ad799deeb9202497bab06c5929cba9de7","original_commit_id":"d882383ad799deeb9202497bab06c5929cba9de7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected console statement  no-console","created_at":"2016-08-01T15:01:43Z","updated_at":"2016-08-01T15:01:43Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/554#discussion_r72993285","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/72993285"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/554#discussion_r72993285"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554","id":79582871,"html_url":"https://github.com/fossasia/open-event-webapp/pull/554","diff_url":"https://github.com/fossasia/open-event-webapp/pull/554.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/554.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/554","number":554,"state":"open","locked":false,"title":"Sponsor Section Automated","user":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"body":"The problem with the recent Sponsor section is that it does not vary with data. Let's consider some cases\r\n1. When there is only one Image at first and third level => The image must be centered.\r\n2. If there is no level defined is JSON, all images must be of the same size.\r\n3. The images must be completely responsive.\r\n\r\nThe current PR checks these cases and automatically adjusts images in each case.","created_at":"2016-08-01T15:01:30Z","updated_at":"2016-08-01T15:01:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed3f562b2930d5e2a3a842a790cbe1f48ef9f492","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/554/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/d882383ad799deeb9202497bab06c5929cba9de7","head":{"label":"aayusharora:Homepage","ref":"Homepage","sha":"d882383ad799deeb9202497bab06c5929cba9de7","user":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"repo":{"id":60962627,"name":"open-event-webapp","full_name":"aayusharora/open-event-webapp","owner":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aayusharora/open-event-webapp","description":"Open Event Webapp","fork":true,"url":"https://api.github.com/repos/aayusharora/open-event-webapp","forks_url":"https://api.github.com/repos/aayusharora/open-event-webapp/forks","keys_url":"https://api.github.com/repos/aayusharora/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aayusharora/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aayusharora/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/aayusharora/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/aayusharora/open-event-webapp/events","assignees_url":"https://api.github.com/repos/aayusharora/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/aayusharora/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/aayusharora/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aayusharora/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/aayusharora/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/aayusharora/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/aayusharora/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/aayusharora/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/aayusharora/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/aayusharora/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/aayusharora/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/aayusharora/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/aayusharora/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aayusharora/open-event-webapp/merges","archive_url":"https://api.github.com/repos/aayusharora/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aayusharora/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/aayusharora/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/aayusharora/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/aayusharora/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aayusharora/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/aayusharora/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/aayusharora/open-event-webapp/deployments","created_at":"2016-06-12T11:02:40Z","updated_at":"2016-07-22T20:08:22Z","pushed_at":"2016-08-01T14:46:19Z","git_url":"git://github.com/aayusharora/open-event-webapp.git","ssh_url":"git@github.com:aayusharora/open-event-webapp.git","clone_url":"https://github.com/aayusharora/open-event-webapp.git","svn_url":"https://github.com/aayusharora/open-event-webapp","homepage":null,"size":366285,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fossasia:development","ref":"development","sha":"707e2f8dbcace6b835eef5121fb7fdc8de44a2f3","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35269905,"name":"open-event-webapp","full_name":"fossasia/open-event-webapp","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-webapp","description":"Open Event Webapp","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-webapp","forks_url":"https://api.github.com/repos/fossasia/open-event-webapp/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-webapp/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-webapp/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-webapp/deployments","created_at":"2015-05-08T09:11:00Z","updated_at":"2016-08-01T10:46:30Z","pushed_at":"2016-08-01T15:01:30Z","git_url":"git://github.com/fossasia/open-event-webapp.git","ssh_url":"git@github.com:fossasia/open-event-webapp.git","clone_url":"https://github.com/fossasia/open-event-webapp.git","svn_url":"https://github.com/fossasia/open-event-webapp","homepage":null,"size":366564,"stargazers_count":20,"watchers_count":20,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":69,"mirror_url":null,"open_issues_count":22,"forks":69,"open_issues":22,"watchers":20,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/554"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/554"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/554/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/554/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/d882383ad799deeb9202497bab06c5929cba9de7"}}}}
{"actor":{"display_login":"houndci-bot"}}