Remove unnecessary newlines

This commit is contained in:
Frederic Junod
2015-09-23 12:18:50 +02:00
parent e884a8704d
commit 901c55bf41

View File

@@ -71,15 +71,13 @@ ol.format.GPX.appendCoordinate_ = function(flatCoordinates, node, values) {
parseFloat(node.getAttribute('lon')),
parseFloat(node.getAttribute('lat')));
if ('ele' in values) {
flatCoordinates.push(
/** @type {number} */ (values['ele']));
flatCoordinates.push(/** @type {number} */ (values['ele']));
delete values['ele'];
} else {
flatCoordinates.push(0);
}
if ('time' in values) {
flatCoordinates.push(
/** @type {number} */ (values['time']));
flatCoordinates.push(/** @type {number} */ (values['time']));
delete values['time'];
} else {
flatCoordinates.push(0);