Remove unnecessary newlines

This commit is contained in:
Frederic Junod
2014-07-22 14:40:22 +02:00
parent 8e106a2c98
commit 7b7788973b
5 changed files with 8 additions and 16 deletions
+2 -4
View File
@@ -689,8 +689,7 @@ ol.Map.prototype.getInteractions = function() {
* @api stable
*/
ol.Map.prototype.getLayerGroup = function() {
return /** @type {ol.layer.Group} */ (
this.get(ol.MapProperty.LAYERGROUP));
return /** @type {ol.layer.Group} */ (this.get(ol.MapProperty.LAYERGROUP));
};
goog.exportProperty(
ol.Map.prototype,
@@ -1357,8 +1356,7 @@ ol.Map.prototype.updateSize = function() {
/**
* @type {Element}
*/
var targetElement = goog.isDef(target) ?
goog.dom.getElement(target) : null;
var targetElement = goog.isDef(target) ? goog.dom.getElement(target) : null;
if (goog.isNull(targetElement)) {
this.setSize(undefined);