Mark exportable ol.has properties as stable

This commit is contained in:
Tim Schaub
2014-08-22 07:36:05 -06:00
parent 947b049799
commit f11e5de156

View File

@@ -12,7 +12,7 @@ goog.require('ol.webgl');
* (dips) on the device (`window.devicePixelRatio`). * (dips) on the device (`window.devicePixelRatio`).
* @const * @const
* @type {number} * @type {number}
* @api * @api stable
*/ */
ol.has.DEVICE_PIXEL_RATIO = goog.global.devicePixelRatio || 1; ol.has.DEVICE_PIXEL_RATIO = goog.global.devicePixelRatio || 1;
@@ -36,7 +36,7 @@ ol.has.CANVAS_LINE_DASH = false;
* True if browser supports Canvas. * True if browser supports Canvas.
* @const * @const
* @type {boolean} * @type {boolean}
* @api * @api stable
*/ */
ol.has.CANVAS = ol.ENABLE_CANVAS && ( ol.has.CANVAS = ol.ENABLE_CANVAS && (
/** /**
@@ -66,7 +66,7 @@ ol.has.CANVAS = ol.ENABLE_CANVAS && (
* Indicates if DeviceOrientation is supported in the user's browser. * Indicates if DeviceOrientation is supported in the user's browser.
* @const * @const
* @type {boolean} * @type {boolean}
* @api * @api stable
*/ */
ol.has.DEVICE_ORIENTATION = ol.has.DEVICE_ORIENTATION =
'DeviceOrientationEvent' in goog.global; 'DeviceOrientationEvent' in goog.global;
@@ -84,7 +84,7 @@ ol.has.DOM = ol.ENABLE_DOM;
* Is HTML5 geolocation supported in the current browser? * Is HTML5 geolocation supported in the current browser?
* @const * @const
* @type {boolean} * @type {boolean}
* @api * @api stable
*/ */
ol.has.GEOLOCATION = 'geolocation' in goog.global.navigator; ol.has.GEOLOCATION = 'geolocation' in goog.global.navigator;
@@ -93,7 +93,7 @@ ol.has.GEOLOCATION = 'geolocation' in goog.global.navigator;
* True if browser supports touch events. * True if browser supports touch events.
* @const * @const
* @type {boolean} * @type {boolean}
* @api * @api stable
*/ */
ol.has.TOUCH = ol.ASSUME_TOUCH || 'ontouchstart' in goog.global; ol.has.TOUCH = ol.ASSUME_TOUCH || 'ontouchstart' in goog.global;
@@ -119,7 +119,7 @@ ol.has.MSPOINTER =
* True if browser supports WebGL. * True if browser supports WebGL.
* @const * @const
* @type {boolean} * @type {boolean}
* @api * @api stable
*/ */
ol.has.WEBGL = ol.ENABLE_WEBGL && ( ol.has.WEBGL = ol.ENABLE_WEBGL && (
/** /**