{"action":"created","comment":{"url":"https://api.github.com/repos/WFCD/warframe-hub/pulls/comments/191073193","pull_request_review_id":123580386,"id":191073193,"diff_hunk":"@@ -90,32 +73,71 @@ function updateTimeBadges() {\n         // If it is a alert timer, we can safely remove\n         if (currentLabel.attr('id')\n           && (currentLabel.attr('id').includes('alerttimer') || currentLabel.attr('id').includes('fissuretimer'))) {\n-          currentLabel.parent()[0].remove();\n-          updateGrid();\n+          currentLabel.parents()[0].remove();\n         }\n       }\n     } else {\n-      let color;\n-\n-      if (diff < 600000) { // 0 min to 10 min\n-        color = 'label-danger';\n-      } else if (diff < 1800000) { // 10 min to 30 min\n-        color = 'label-warning';\n-      } else if (diff > 1800000) { // 30 min to 1 hour\n-        color = 'label-success';\n-      }\n-\n-      if (!currentLabel.hasClass(color)) {\n-        removeTimeBadgeColor(currentLabel);\n-        currentLabel.addClass(color);\n-      }\n-      currentLabel.html(formatTimer(diff));\n+      currentLabel.html(`Time left: ${formatTimer(diff)}`);\n     }\n   }\n \n   setTimeout(updateTimeBadges, 1000);\n }\n \n+// Moving background\n+$(document).ready(function() {\n+  var movementStrength = 4;\n+  var height = movementStrength / $(window).height();\n+  var width = movementStrength / $(window).width();\n+  $('#content').mousemove(function(e) {\n+    var pageX = e.pageX - ($(window).width() / 2);\n+    var pageY = e.pageY - ($(window).height() / 2);\n+    var newvalueX = width * pageX * -1 - 4;\n+    var newvalueY = height * pageY * -1 - 8;\n+    $('#content').css(\"background-position\", newvalueX+'vw     '+newvalueY+'vh');\n+  });\n+\n+  // Section switcher\n+  $('.sections li').click(function(event) {\n+    var requestedSection = $(this).attr('id');\n+    var sectionTitle = $(this).attr('name');\n+    $('.sections > li').removeClass(\"active\");\n+    $(this).addClass(\"active\");\n+    $('.sectionTitle').html(sectionTitle);\n+\n+    new TypeIt('.sectionTitle', {\n+      cursor: false,\n+      speed: 20,\n+      autoStart: true\n+    });\n+\n+    $('.section').hide();\n+    $('#' + requestedSection + 'Wrapper').show();\n+  });\n+\n+  // Default section\n+  $('#alerts').click();\n+\n+  // Dropdown\n+  $('.dropdown').click(function() {\n+    $(this).find('.dropdownList').slideToggle('fast');\n+  });\n+});\n+\n+$(document).on('click', function(event){","path":"assets/js/main.js","position":120,"original_position":120,"commit_id":"f189e9ca6fe4f71660675b4985eec147049515a4","original_commit_id":"f189e9ca6fe4f71660675b4985eec147049515a4","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Unexpected unnamed function. (func-names)](https://app.codacy.com/app/WFCD/warframe-hub/pullRequest?prid=1686320)","created_at":"2018-05-27T11:16:24Z","updated_at":"2018-05-27T11:16:24Z","html_url":"https://github.com/WFCD/warframe-hub/pull/115#discussion_r191073193","pull_request_url":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/WFCD/warframe-hub/pulls/comments/191073193"},"html":{"href":"https://github.com/WFCD/warframe-hub/pull/115#discussion_r191073193"},"pull_request":{"href":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115","id":190043920,"html_url":"https://github.com/WFCD/warframe-hub/pull/115","diff_url":"https://github.com/WFCD/warframe-hub/pull/115.diff","patch_url":"https://github.com/WFCD/warframe-hub/pull/115.patch","issue_url":"https://api.github.com/repos/WFCD/warframe-hub/issues/115","number":115,"state":"open","locked":false,"title":"Overhaul","user":{"login":"NeXoGone","id":7419091,"avatar_url":"https://avatars2.githubusercontent.com/u/7419091?v=4","gravatar_id":"","url":"https://api.github.com/users/NeXoGone","html_url":"https://github.com/NeXoGone","followers_url":"https://api.github.com/users/NeXoGone/followers","following_url":"https://api.github.com/users/NeXoGone/following{/other_user}","gists_url":"https://api.github.com/users/NeXoGone/gists{/gist_id}","starred_url":"https://api.github.com/users/NeXoGone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeXoGone/subscriptions","organizations_url":"https://api.github.com/users/NeXoGone/orgs","repos_url":"https://api.github.com/users/NeXoGone/repos","events_url":"https://api.github.com/users/NeXoGone/events{/privacy}","received_events_url":"https://api.github.com/users/NeXoGone/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-23T17:02:36Z","updated_at":"2018-05-27T11:16:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6597574fc5d5086692990d437a2b5943abcc6f4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":725511403,"url":"https://api.github.com/repos/WFCD/warframe-hub/labels/in%20progress","name":"in progress","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115/commits","review_comments_url":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115/comments","review_comment_url":"https://api.github.com/repos/WFCD/warframe-hub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WFCD/warframe-hub/issues/115/comments","statuses_url":"https://api.github.com/repos/WFCD/warframe-hub/statuses/f189e9ca6fe4f71660675b4985eec147049515a4","head":{"label":"WFCD:overhaul","ref":"overhaul","sha":"f189e9ca6fe4f71660675b4985eec147049515a4","user":{"login":"WFCD","id":24436369,"avatar_url":"https://avatars0.githubusercontent.com/u/24436369?v=4","gravatar_id":"","url":"https://api.github.com/users/WFCD","html_url":"https://github.com/WFCD","followers_url":"https://api.github.com/users/WFCD/followers","following_url":"https://api.github.com/users/WFCD/following{/other_user}","gists_url":"https://api.github.com/users/WFCD/gists{/gist_id}","starred_url":"https://api.github.com/users/WFCD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WFCD/subscriptions","organizations_url":"https://api.github.com/users/WFCD/orgs","repos_url":"https://api.github.com/users/WFCD/repos","events_url":"https://api.github.com/users/WFCD/events{/privacy}","received_events_url":"https://api.github.com/users/WFCD/received_events","type":"Organization","site_admin":false},"repo":{"id":107428206,"name":"warframe-hub","full_name":"WFCD/warframe-hub","owner":{"login":"WFCD","id":24436369,"avatar_url":"https://avatars0.githubusercontent.com/u/24436369?v=4","gravatar_id":"","url":"https://api.github.com/users/WFCD","html_url":"https://github.com/WFCD","followers_url":"https://api.github.com/users/WFCD/followers","following_url":"https://api.github.com/users/WFCD/following{/other_user}","gists_url":"https://api.github.com/users/WFCD/gists{/gist_id}","starred_url":"https://api.github.com/users/WFCD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WFCD/subscriptions","organizations_url":"https://api.github.com/users/WFCD/orgs","repos_url":"https://api.github.com/users/WFCD/repos","events_url":"https://api.github.com/users/WFCD/events{/privacy}","received_events_url":"https://api.github.com/users/WFCD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WFCD/warframe-hub","description":"Warframe hub strives to be the community center of the Warframe game","fork":false,"url":"https://api.github.com/repos/WFCD/warframe-hub","forks_url":"https://api.github.com/repos/WFCD/warframe-hub/forks","keys_url":"https://api.github.com/repos/WFCD/warframe-hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WFCD/warframe-hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WFCD/warframe-hub/teams","hooks_url":"https://api.github.com/repos/WFCD/warframe-hub/hooks","issue_events_url":"https://api.github.com/repos/WFCD/warframe-hub/issues/events{/number}","events_url":"https://api.github.com/repos/WFCD/warframe-hub/events","assignees_url":"https://api.github.com/repos/WFCD/warframe-hub/assignees{/user}","branches_url":"https://api.github.com/repos/WFCD/warframe-hub/branches{/branch}","tags_url":"https://api.github.com/repos/WFCD/warframe-hub/tags","blobs_url":"https://api.github.com/repos/WFCD/warframe-hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WFCD/warframe-hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WFCD/warframe-hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/WFCD/warframe-hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WFCD/warframe-hub/statuses/{sha}","languages_url":"https://api.github.com/repos/WFCD/warframe-hub/languages","stargazers_url":"https://api.github.com/repos/WFCD/warframe-hub/stargazers","contributors_url":"https://api.github.com/repos/WFCD/warframe-hub/contributors","subscribers_url":"https://api.github.com/repos/WFCD/warframe-hub/subscribers","subscription_url":"https://api.github.com/repos/WFCD/warframe-hub/subscription","commits_url":"https://api.github.com/repos/WFCD/warframe-hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/WFCD/warframe-hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/WFCD/warframe-hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/WFCD/warframe-hub/issues/comments{/number}","contents_url":"https://api.github.com/repos/WFCD/warframe-hub/contents/{+path}","compare_url":"https://api.github.com/repos/WFCD/warframe-hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WFCD/warframe-hub/merges","archive_url":"https://api.github.com/repos/WFCD/warframe-hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WFCD/warframe-hub/downloads","issues_url":"https://api.github.com/repos/WFCD/warframe-hub/issues{/number}","pulls_url":"https://api.github.com/repos/WFCD/warframe-hub/pulls{/number}","milestones_url":"https://api.github.com/repos/WFCD/warframe-hub/milestones{/number}","notifications_url":"https://api.github.com/repos/WFCD/warframe-hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WFCD/warframe-hub/labels{/name}","releases_url":"https://api.github.com/repos/WFCD/warframe-hub/releases{/id}","deployments_url":"https://api.github.com/repos/WFCD/warframe-hub/deployments","created_at":"2017-10-18T15:36:09Z","updated_at":"2018-05-26T10:40:55Z","pushed_at":"2018-05-27T07:12:54Z","git_url":"git://github.com/WFCD/warframe-hub.git","ssh_url":"git@github.com:WFCD/warframe-hub.git","clone_url":"https://github.com/WFCD/warframe-hub.git","svn_url":"https://github.com/WFCD/warframe-hub","homepage":"https://hub.warframestat.us","size":25912,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":7,"open_issues":4,"watchers":16,"default_branch":"dev"}},"base":{"label":"WFCD:dev","ref":"dev","sha":"907f47df6926d2ad3b37580a991692235803985e","user":{"login":"WFCD","id":24436369,"avatar_url":"https://avatars0.githubusercontent.com/u/24436369?v=4","gravatar_id":"","url":"https://api.github.com/users/WFCD","html_url":"https://github.com/WFCD","followers_url":"https://api.github.com/users/WFCD/followers","following_url":"https://api.github.com/users/WFCD/following{/other_user}","gists_url":"https://api.github.com/users/WFCD/gists{/gist_id}","starred_url":"https://api.github.com/users/WFCD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WFCD/subscriptions","organizations_url":"https://api.github.com/users/WFCD/orgs","repos_url":"https://api.github.com/users/WFCD/repos","events_url":"https://api.github.com/users/WFCD/events{/privacy}","received_events_url":"https://api.github.com/users/WFCD/received_events","type":"Organization","site_admin":false},"repo":{"id":107428206,"name":"warframe-hub","full_name":"WFCD/warframe-hub","owner":{"login":"WFCD","id":24436369,"avatar_url":"https://avatars0.githubusercontent.com/u/24436369?v=4","gravatar_id":"","url":"https://api.github.com/users/WFCD","html_url":"https://github.com/WFCD","followers_url":"https://api.github.com/users/WFCD/followers","following_url":"https://api.github.com/users/WFCD/following{/other_user}","gists_url":"https://api.github.com/users/WFCD/gists{/gist_id}","starred_url":"https://api.github.com/users/WFCD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WFCD/subscriptions","organizations_url":"https://api.github.com/users/WFCD/orgs","repos_url":"https://api.github.com/users/WFCD/repos","events_url":"https://api.github.com/users/WFCD/events{/privacy}","received_events_url":"https://api.github.com/users/WFCD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WFCD/warframe-hub","description":"Warframe hub strives to be the community center of the Warframe game","fork":false,"url":"https://api.github.com/repos/WFCD/warframe-hub","forks_url":"https://api.github.com/repos/WFCD/warframe-hub/forks","keys_url":"https://api.github.com/repos/WFCD/warframe-hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WFCD/warframe-hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WFCD/warframe-hub/teams","hooks_url":"https://api.github.com/repos/WFCD/warframe-hub/hooks","issue_events_url":"https://api.github.com/repos/WFCD/warframe-hub/issues/events{/number}","events_url":"https://api.github.com/repos/WFCD/warframe-hub/events","assignees_url":"https://api.github.com/repos/WFCD/warframe-hub/assignees{/user}","branches_url":"https://api.github.com/repos/WFCD/warframe-hub/branches{/branch}","tags_url":"https://api.github.com/repos/WFCD/warframe-hub/tags","blobs_url":"https://api.github.com/repos/WFCD/warframe-hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WFCD/warframe-hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WFCD/warframe-hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/WFCD/warframe-hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WFCD/warframe-hub/statuses/{sha}","languages_url":"https://api.github.com/repos/WFCD/warframe-hub/languages","stargazers_url":"https://api.github.com/repos/WFCD/warframe-hub/stargazers","contributors_url":"https://api.github.com/repos/WFCD/warframe-hub/contributors","subscribers_url":"https://api.github.com/repos/WFCD/warframe-hub/subscribers","subscription_url":"https://api.github.com/repos/WFCD/warframe-hub/subscription","commits_url":"https://api.github.com/repos/WFCD/warframe-hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/WFCD/warframe-hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/WFCD/warframe-hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/WFCD/warframe-hub/issues/comments{/number}","contents_url":"https://api.github.com/repos/WFCD/warframe-hub/contents/{+path}","compare_url":"https://api.github.com/repos/WFCD/warframe-hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WFCD/warframe-hub/merges","archive_url":"https://api.github.com/repos/WFCD/warframe-hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WFCD/warframe-hub/downloads","issues_url":"https://api.github.com/repos/WFCD/warframe-hub/issues{/number}","pulls_url":"https://api.github.com/repos/WFCD/warframe-hub/pulls{/number}","milestones_url":"https://api.github.com/repos/WFCD/warframe-hub/milestones{/number}","notifications_url":"https://api.github.com/repos/WFCD/warframe-hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WFCD/warframe-hub/labels{/name}","releases_url":"https://api.github.com/repos/WFCD/warframe-hub/releases{/id}","deployments_url":"https://api.github.com/repos/WFCD/warframe-hub/deployments","created_at":"2017-10-18T15:36:09Z","updated_at":"2018-05-26T10:40:55Z","pushed_at":"2018-05-27T07:12:54Z","git_url":"git://github.com/WFCD/warframe-hub.git","ssh_url":"git@github.com:WFCD/warframe-hub.git","clone_url":"https://github.com/WFCD/warframe-hub.git","svn_url":"https://github.com/WFCD/warframe-hub","homepage":"https://hub.warframestat.us","size":25912,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":7,"open_issues":4,"watchers":16,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115"},"html":{"href":"https://github.com/WFCD/warframe-hub/pull/115"},"issue":{"href":"https://api.github.com/repos/WFCD/warframe-hub/issues/115"},"comments":{"href":"https://api.github.com/repos/WFCD/warframe-hub/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/WFCD/warframe-hub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WFCD/warframe-hub/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/WFCD/warframe-hub/statuses/f189e9ca6fe4f71660675b4985eec147049515a4"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codacy-bot"}}