Add extern for Navigator.prototype.pointerEnabled
This commit is contained in:
committed by
tsauerwein
parent
51d7cb2820
commit
cbb875e504
@@ -52,3 +52,12 @@ Document.prototype.msFullscreenEnabled;
|
|||||||
|
|
||||||
/** @type {Element} */
|
/** @type {Element} */
|
||||||
Document.prototype.msFullscreenElement;
|
Document.prototype.msFullscreenElement;
|
||||||
|
|
||||||
|
|
||||||
|
// @see https://code.google.com/p/closure-compiler/issues/detail?id=1276
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {boolean}
|
||||||
|
* @see http://www.w3.org/TR/pointerevents/#widl-Navigator-pointerEnabled
|
||||||
|
*/
|
||||||
|
Navigator.prototype.pointerEnabled;
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ ol.BrowserFeature.HAS_TOUCH = ol.ASSUME_TOUCH ||
|
|||||||
* @todo stability experimental
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
ol.BrowserFeature.HAS_POINTER =
|
ol.BrowserFeature.HAS_POINTER =
|
||||||
!!(goog.global.navigator['pointerEnabled']);
|
!!(goog.global.navigator.pointerEnabled);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user