Fix indentation, 4 -> 2

This commit is contained in:
Ryan Huffman 2014-12-10 14:26:42 -08:00
parent 7515c26d71
commit 961f629074

View file

@ -70,16 +70,14 @@ var panelLocationOrder = [
// Location index is 0-based // Location index is 0-based
function locationIndexToPanelIndex(locationIndex) { function locationIndexToPanelIndex(locationIndex) {
return panelLocationOrder.indexOf(locationIndex) + 1; return panelLocationOrder.indexOf(locationIndex) + 1;
} }
// Panel index is 1-based // Panel index is 1-based
function panelIndexToLocationIndex(panelIndex) { function panelIndexToLocationIndex(panelIndex) {
return panelLocationOrder[panelIndex - 1]; return panelLocationOrder[panelIndex - 1];
} }
var MAX_NUM_PANELS = 21; var MAX_NUM_PANELS = 21;
var DRONE_VOLUME = 0.3; var DRONE_VOLUME = 0.3;