fix indention/whitespace

This commit is contained in:
Stefan Breunig 2013-02-23 09:03:15 +01:00
parent baaf098977
commit f9834d929b

View File

@ -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/>&nbsp;Enlightened:\t" +
digits(result[1]) + "<br/>&nbsp;Resistance:\t" + digits(result[0]));
digits(result[1]) + "<br/>&nbsp;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) {