diff --git a/src/ol/deviceorientation.exports b/src/ol/deviceorientation.exports index 6988135399..31910aa9b1 100644 --- a/src/ol/deviceorientation.exports +++ b/src/ol/deviceorientation.exports @@ -1 +1,2 @@ @exportClass ol.DeviceOrientation ol.DeviceOrientationOptions +@exportSymbol ol.DeviceOrientation.SUPPORTED ol.DeviceOrientation.SUPPORTED diff --git a/src/ol/deviceorientation.js b/src/ol/deviceorientation.js index 0a3392bb00..c4a0a1f35c 100644 --- a/src/ol/deviceorientation.js +++ b/src/ol/deviceorientation.js @@ -106,10 +106,6 @@ ol.DeviceOrientation.prototype.disposeInternal = function() { * @type {boolean} */ ol.DeviceOrientation.SUPPORTED = 'DeviceOrientationEvent' in goog.global; -goog.exportProperty( - ol.DeviceOrientation, - 'SUPPORTED', - ol.DeviceOrientation.SUPPORTED); /** diff --git a/src/ol/geolocation.exports b/src/ol/geolocation.exports index 18d54d9805..3040f335d7 100644 --- a/src/ol/geolocation.exports +++ b/src/ol/geolocation.exports @@ -1 +1,2 @@ @exportClass ol.Geolocation ol.GeolocationOptions +@exportSymbol ol.Geolocation.SUPPORTED ol.Geolocation.SUPPORTED diff --git a/src/ol/geolocation.js b/src/ol/geolocation.js index 5b7f55f66d..8b04ab8030 100644 --- a/src/ol/geolocation.js +++ b/src/ol/geolocation.js @@ -142,10 +142,6 @@ ol.Geolocation.prototype.handleTrackingChanged_ = function() { * @type {boolean} */ ol.Geolocation.SUPPORTED = 'geolocation' in goog.global.navigator; -goog.exportProperty( - ol.Geolocation, - 'SUPPORTED', - ol.Geolocation.SUPPORTED); /** diff --git a/src/ol/webgl/webgl.exports b/src/ol/webgl/webgl.exports new file mode 100644 index 0000000000..582ed7670e --- /dev/null +++ b/src/ol/webgl/webgl.exports @@ -0,0 +1 @@ +@exportSymbol ol.webgl.SUPPORTED ol.webgl.SUPPORTED diff --git a/src/ol/webgl/webgl.js b/src/ol/webgl/webgl.js index 3468b9f973..96801d426c 100644 --- a/src/ol/webgl/webgl.js +++ b/src/ol/webgl/webgl.js @@ -63,4 +63,3 @@ ol.webgl.SUPPORTED = (function() { return false; } })(); -goog.exportSymbol('ol.webgl.SUPPORTED', ol.webgl.SUPPORTED);