Skip to content

Commit

Permalink
Move format exports into child classes.
Browse files Browse the repository at this point in the history
To only export implemented methods.
  • Loading branch information
tonio committed Jan 16, 2014
1 parent f3349fb commit 979b748
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 21 deletions.
7 changes: 7 additions & 0 deletions src/ol/format/geojsonformat.exports
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions src/ol/format/igcformat.exports
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
@exportSymbol ol.format.IGC
@exportProperty ol.format.IGC.prototype.readFeature
@exportProperty ol.format.IGC.prototype.readFeatures
7 changes: 0 additions & 7 deletions src/ol/format/jsonformat.exports

This file was deleted.

4 changes: 4 additions & 0 deletions src/ol/format/kmlformat.exports
Original file line number Diff line number Diff line change
@@ -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
7 changes: 0 additions & 7 deletions src/ol/format/textformat.exports

This file was deleted.

7 changes: 0 additions & 7 deletions src/ol/format/xmlformat.exports

This file was deleted.

0 comments on commit 979b748

Please sign in to comment.