diff --git a/bin/generate-exports.py b/bin/generate-exports.py index e2f0eca521..2ae2cd8475 100755 --- a/bin/generate-exports.py +++ b/bin/generate-exports.py @@ -278,7 +278,7 @@ def main(argv): components = m.group('name').split('.') if re.match(r'[A-Z]', components[-1]): requires.add(name) - elif len(components) > 2: + elif len(components) > 1: requires.add('.'.join(components[:-1])) continue raise RuntimeError(line) diff --git a/src/ol/animation.exports b/src/ol/animation.exports index 4a8819704d..5cab49819d 100644 --- a/src/ol/animation.exports +++ b/src/ol/animation.exports @@ -1,5 +1,4 @@ -@exportSymbol ol.animation -@exportProperty ol.animation.bounce -@exportProperty ol.animation.pan -@exportProperty ol.animation.rotate -@exportProperty ol.animation.zoom +@exportSymbol ol.animation.bounce +@exportSymbol ol.animation.pan +@exportSymbol ol.animation.rotate +@exportSymbol ol.animation.zoom diff --git a/src/ol/coordinate.exports b/src/ol/coordinate.exports index e1b0fcbe6f..3680e852c2 100644 --- a/src/ol/coordinate.exports +++ b/src/ol/coordinate.exports @@ -1,4 +1,3 @@ -@exportSymbol ol.coordinate @exportSymbol ol.coordinate.createStringXY @exportSymbol ol.coordinate.toStringHDMS @exportSymbol ol.coordinate.toStringXY diff --git a/src/ol/easing.exports b/src/ol/easing.exports index 9ea3bdc094..d8653acfe3 100644 --- a/src/ol/easing.exports +++ b/src/ol/easing.exports @@ -1,8 +1,7 @@ -@exportSymbol ol.easing -@exportProperty ol.easing.bounce -@exportProperty ol.easing.easeIn -@exportProperty ol.easing.easeOut -@exportProperty ol.easing.elastic -@exportProperty ol.easing.inAndOut -@exportProperty ol.easing.linear -@exportProperty ol.easing.upAndDown +@exportSymbol ol.easing.bounce +@exportSymbol ol.easing.easeIn +@exportSymbol ol.easing.easeOut +@exportSymbol ol.easing.elastic +@exportSymbol ol.easing.inAndOut +@exportSymbol ol.easing.linear +@exportSymbol ol.easing.upAndDown