Remove unnecessary newlines

This commit is contained in:
Frederic Junod
2014-09-02 15:07:18 +02:00
parent afd43687f2
commit 6e3a5ca7ca
2 changed files with 3 additions and 6 deletions

View File

@@ -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);
/** /**

View File

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