Merge pull request #1073 from elemoine/export-supported
Fix exports for ol.Geolocation | DeviceOrientation.SUPPORTED
This commit is contained in:
@@ -1 +1,2 @@
|
||||
@exportClass ol.DeviceOrientation ol.DeviceOrientationOptions
|
||||
@exportSymbol ol.DeviceOrientation.SUPPORTED ol.DeviceOrientation.SUPPORTED
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
@exportClass ol.Geolocation ol.GeolocationOptions
|
||||
@exportSymbol ol.Geolocation.SUPPORTED ol.Geolocation.SUPPORTED
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
1
src/ol/webgl/webgl.exports
Normal file
1
src/ol/webgl/webgl.exports
Normal file
@@ -0,0 +1 @@
|
||||
@exportSymbol ol.webgl.SUPPORTED ol.webgl.SUPPORTED
|
||||
@@ -63,4 +63,3 @@ ol.webgl.SUPPORTED = (function() {
|
||||
return false;
|
||||
}
|
||||
})();
|
||||
goog.exportSymbol('ol.webgl.SUPPORTED', ol.webgl.SUPPORTED);
|
||||
|
||||
Reference in New Issue
Block a user