fix indention/whitespace
This commit is contained in:
parent
baaf098977
commit
f9834d929b
@ -31,15 +31,15 @@ window.plugin.compAPStats.setupCallback = function() {
|
||||
// make the value update when the map data updates
|
||||
var handleDataResponseOrig = window.handleDataResponse;
|
||||
window.handleDataResponse = function(data, textStatus, jqXHR) {
|
||||
handleDataResponseOrig(data, textStatus, jqXHR);
|
||||
window.plugin.compAPStats.onPositionMove();
|
||||
handleDataResponseOrig(data, textStatus, jqXHR);
|
||||
window.plugin.compAPStats.onPositionMove();
|
||||
}
|
||||
}
|
||||
|
||||
window.plugin.compAPStats.onPositionMove = function() {
|
||||
var result = window.plugin.compAPStats.compAPStats();
|
||||
$('#available_ap_display').html("Available AP in this area:<br/> Enlightened:\t" +
|
||||
digits(result[1]) + "<br/> Resistance:\t" + digits(result[0]));
|
||||
digits(result[1]) + "<br/> Resistance:\t" + digits(result[0]));
|
||||
}
|
||||
|
||||
window.plugin.compAPStats.compAPStats = function() {
|
||||
@ -68,8 +68,8 @@ window.plugin.compAPStats.compAPStats = function() {
|
||||
totalAP_RES += portalSum;
|
||||
|
||||
$.each(d.portalV2.linkedEdges, function(ind, edge) {
|
||||
if(!edge) return true;
|
||||
allEnlEdges.push(edge.edgeGuid);
|
||||
if(!edge) return true;
|
||||
allEnlEdges.push(edge.edgeGuid);
|
||||
});
|
||||
|
||||
$.each(d.portalV2.linkedFields, function(ind, field) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user