From 6e3a5ca7ca243c3a5843db11dd93a1084475ec23 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 2 Sep 2014 15:07:18 +0200 Subject: [PATCH] Remove unnecessary newlines --- src/ol/has.js | 6 ++---- src/ol/overlay.js | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ol/has.js b/src/ol/has.js index 982156300c..1472c8b53c 100644 --- a/src/ol/has.js +++ b/src/ol/has.js @@ -68,8 +68,7 @@ ol.has.CANVAS = ol.ENABLE_CANVAS && ( * @type {boolean} * @api stable */ -ol.has.DEVICE_ORIENTATION = - 'DeviceOrientationEvent' in goog.global; +ol.has.DEVICE_ORIENTATION = 'DeviceOrientationEvent' in goog.global; /** @@ -111,8 +110,7 @@ ol.has.POINTER = 'PointerEvent' in goog.global; * @const * @type {boolean} */ -ol.has.MSPOINTER = - !!(goog.global.navigator.msPointerEnabled); +ol.has.MSPOINTER = !!(goog.global.navigator.msPointerEnabled); /** diff --git a/src/ol/overlay.js b/src/ol/overlay.js index 038dc0b02b..9f569b6e97 100644 --- a/src/ol/overlay.js +++ b/src/ol/overlay.js @@ -129,8 +129,7 @@ ol.Overlay = function(options) { this.handlePositionChanged, false, this); goog.events.listen( - this, - ol.Object.getChangeEventType(ol.OverlayProperty.POSITIONING), + this, ol.Object.getChangeEventType(ol.OverlayProperty.POSITIONING), this.handlePositioningChanged, false, this); if (goog.isDef(options.element)) {