Merge pull request #1073 from elemoine/export-supported

Fix exports for ol.Geolocation | DeviceOrientation.SUPPORTED
This commit is contained in:
Éric Lemoine
2013-10-02 05:48:26 -07:00
6 changed files with 3 additions and 9 deletions

View File

@@ -1 +1,2 @@
@exportClass ol.DeviceOrientation ol.DeviceOrientationOptions
@exportSymbol ol.DeviceOrientation.SUPPORTED ol.DeviceOrientation.SUPPORTED

View File

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

View File

@@ -1 +1,2 @@
@exportClass ol.Geolocation ol.GeolocationOptions
@exportSymbol ol.Geolocation.SUPPORTED ol.Geolocation.SUPPORTED

View File

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

View File

@@ -0,0 +1 @@
@exportSymbol ol.webgl.SUPPORTED ol.webgl.SUPPORTED

View File

@@ -63,4 +63,3 @@ ol.webgl.SUPPORTED = (function() {
return false;
}
})();
goog.exportSymbol('ol.webgl.SUPPORTED', ol.webgl.SUPPORTED);