code: function($lengthSwap) {
  			this.writeDebug('lengthUnitSwap',arguments);
  
  			if ($lengthSwap.val() === 'alt-distance') {
  				$('.' + this.settings.locationList + ' .loc-alt-dist').show();
  				$('.' + this.settings.locationList + ' .loc-default-dist').hide();
  			} else if ($lengthSwap.val() === 'default-distance') {
  				$('.' + this.settings.locationList + ' .loc-default-dist').show();
  				$('.' + this.settings.locationList + ' .loc-alt-dist').hide();
  			}
  		}
docs: Handle length unit swap
  
  @param $lengthSwap