Remove unnecessary newlines
This commit is contained in:
@@ -68,8 +68,7 @@ ol.has.CANVAS = ol.ENABLE_CANVAS && (
|
|||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.has.DEVICE_ORIENTATION =
|
ol.has.DEVICE_ORIENTATION = 'DeviceOrientationEvent' in goog.global;
|
||||||
'DeviceOrientationEvent' in goog.global;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -111,8 +110,7 @@ ol.has.POINTER = 'PointerEvent' in goog.global;
|
|||||||
* @const
|
* @const
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
ol.has.MSPOINTER =
|
ol.has.MSPOINTER = !!(goog.global.navigator.msPointerEnabled);
|
||||||
!!(goog.global.navigator.msPointerEnabled);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -129,8 +129,7 @@ ol.Overlay = function(options) {
|
|||||||
this.handlePositionChanged, false, this);
|
this.handlePositionChanged, false, this);
|
||||||
|
|
||||||
goog.events.listen(
|
goog.events.listen(
|
||||||
this,
|
this, ol.Object.getChangeEventType(ol.OverlayProperty.POSITIONING),
|
||||||
ol.Object.getChangeEventType(ol.OverlayProperty.POSITIONING),
|
|
||||||
this.handlePositioningChanged, false, this);
|
this.handlePositioningChanged, false, this);
|
||||||
|
|
||||||
if (goog.isDef(options.element)) {
|
if (goog.isDef(options.element)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user