From 8889c4a128509faa7d1341f90d9cd65cb7b04d28 Mon Sep 17 00:00:00 2001 From: Catherine Taylor Date: Mon, 2 Sep 2013 20:42:01 +0100 Subject: [PATCH] Removed extraneous comments. --- plugins/portal-highlighter-outbound-link-counter.user.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/portal-highlighter-outbound-link-counter.user.js b/plugins/portal-highlighter-outbound-link-counter.user.js index 546ed8c3..5ec60ff0 100644 --- a/plugins/portal-highlighter-outbound-link-counter.user.js +++ b/plugins/portal-highlighter-outbound-link-counter.user.js @@ -23,7 +23,6 @@ window.plugin.portalHighlighterOutboundLinkCounter = function() {}; window.plugin.portalHighlighterOutboundLinkCounter.highlight = function(data) { var d = data.portal.options.details; - // var links = {incoming: 0, outgoing: 0}; var outgoing = 0; var playerFaction = 0; @@ -36,18 +35,14 @@ window.plugin.portalHighlighterOutboundLinkCounter.highlight = function(data) { // Only interested in portals of player's faction if(getTeam(d) === playerFaction) { if(d.portalV2.linkedEdges) $.each(d.portalV2.linkedEdges, function(ind, link) { - // links[link.isOrigin ? 'outgoing' : 'incoming']++; if (link.isOrigin) { outgoing++; } }); - // if(links.outgoing > 3) { if(outgoing > 3) { - // if(links.outgoing < 6) { if(outgoing < 6) { color = 'yellow'; - // } else if(links.outgoing < 8) { } else if(outgoing < 8) { color = 'orange'; } else {