From 979b7485b57a67271a84ee16bbcf33f8e1c5bf59 Mon Sep 17 00:00:00 2001 From: Antoine Abt Date: Mon, 6 Jan 2014 16:33:21 +0100 Subject: [PATCH] Move format exports into child classes. To only export implemented methods. --- src/ol/format/geojsonformat.exports | 7 +++++++ src/ol/format/igcformat.exports | 2 ++ src/ol/format/jsonformat.exports | 7 ------- src/ol/format/kmlformat.exports | 4 ++++ src/ol/format/textformat.exports | 7 ------- src/ol/format/xmlformat.exports | 7 ------- 6 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 src/ol/format/jsonformat.exports delete mode 100644 src/ol/format/textformat.exports delete mode 100644 src/ol/format/xmlformat.exports diff --git a/src/ol/format/geojsonformat.exports b/src/ol/format/geojsonformat.exports index f185a2af03..620f1bfad7 100644 --- a/src/ol/format/geojsonformat.exports +++ b/src/ol/format/geojsonformat.exports @@ -1 +1,8 @@ @exportSymbol ol.format.GeoJSON +@exportProperty ol.format.GeoJSON.prototype.readFeature +@exportProperty ol.format.GeoJSON.prototype.readFeatures +@exportProperty ol.format.GeoJSON.prototype.readGeometry +@exportProperty ol.format.GeoJSON.prototype.readProjection +@exportProperty ol.format.GeoJSON.prototype.writeFeature +@exportProperty ol.format.GeoJSON.prototype.writeFeatures +@exportProperty ol.format.GeoJSON.prototype.writeGeometry diff --git a/src/ol/format/igcformat.exports b/src/ol/format/igcformat.exports index 640005aa90..f5faa5c4fb 100644 --- a/src/ol/format/igcformat.exports +++ b/src/ol/format/igcformat.exports @@ -1 +1,3 @@ @exportSymbol ol.format.IGC +@exportProperty ol.format.IGC.prototype.readFeature +@exportProperty ol.format.IGC.prototype.readFeatures diff --git a/src/ol/format/jsonformat.exports b/src/ol/format/jsonformat.exports deleted file mode 100644 index 4ad44f1498..0000000000 --- a/src/ol/format/jsonformat.exports +++ /dev/null @@ -1,7 +0,0 @@ -@exportProperty ol.format.JSON.prototype.readFeature -@exportProperty ol.format.JSON.prototype.readFeatures -@exportProperty ol.format.JSON.prototype.readGeometry -@exportProperty ol.format.JSON.prototype.readProjection -@exportProperty ol.format.JSON.prototype.writeFeature -@exportProperty ol.format.JSON.prototype.writeFeatures -@exportProperty ol.format.JSON.prototype.writeGeometry diff --git a/src/ol/format/kmlformat.exports b/src/ol/format/kmlformat.exports index a07f38bf74..ba709cfdd0 100644 --- a/src/ol/format/kmlformat.exports +++ b/src/ol/format/kmlformat.exports @@ -1,2 +1,6 @@ @exportSymbol ol.format.KML @exportProperty ol.format.KML.prototype.readName +@exportProperty ol.format.KML.prototype.readFeature +@exportProperty ol.format.KML.prototype.readFeatures +@exportProperty ol.format.KML.prototype.readGeometry +@exportProperty ol.format.KML.prototype.readProjection diff --git a/src/ol/format/textformat.exports b/src/ol/format/textformat.exports deleted file mode 100644 index 5fb7a994a2..0000000000 --- a/src/ol/format/textformat.exports +++ /dev/null @@ -1,7 +0,0 @@ -@exportProperty ol.format.Text.prototype.readFeature -@exportProperty ol.format.Text.prototype.readFeatures -@exportProperty ol.format.Text.prototype.readGeometry -@exportProperty ol.format.Text.prototype.readProjection -@exportProperty ol.format.Text.prototype.writeFeature -@exportProperty ol.format.Text.prototype.writeFeatures -@exportProperty ol.format.Text.prototype.writeGeometry diff --git a/src/ol/format/xmlformat.exports b/src/ol/format/xmlformat.exports deleted file mode 100644 index 0ed84f3d7c..0000000000 --- a/src/ol/format/xmlformat.exports +++ /dev/null @@ -1,7 +0,0 @@ -@exportProperty ol.format.XML.prototype.readFeature -@exportProperty ol.format.XML.prototype.readFeatures -@exportProperty ol.format.XML.prototype.readGeometry -@exportProperty ol.format.XML.prototype.readProjection -@exportProperty ol.format.XML.prototype.writeFeature -@exportProperty ol.format.XML.prototype.writeFeatures -@exportProperty ol.format.XML.prototype.writeGeometry