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)) {