Consistent curly brace style

This commit is contained in:
Tim Schaub
2016-01-04 20:05:03 -07:00
parent ec10b661f3
commit 54df314936
5 changed files with 11 additions and 12 deletions

View File

@@ -121,11 +121,9 @@ ol.source.TileArcGISRest.prototype.getRequestUrl_ =
// If a MapServer, use export. If an ImageServer, use exportImage.
if (goog.string.endsWith(url, 'MapServer/')) {
url = url + 'export';
}
else if (goog.string.endsWith(url, 'ImageServer/')) {
} else if (goog.string.endsWith(url, 'ImageServer/')) {
url = url + 'exportImage';
}
else {
} else {
goog.asserts.fail('Unknown Rest Service', url);
}