Simplify default export

This removes unnecessary variable declarations where the default object is an object.
This commit is contained in:
Frederic Junod
2017-12-15 15:08:33 +01:00
parent 4c5f570e86
commit 0bc28323c8
21 changed files with 39 additions and 54 deletions
+2 -3
View File
@@ -1,6 +1,7 @@
/**
* @module ol/style/TextPlacement
*/
/**
* Text placement. One of `'point'`, `'line'`. Default is `'point'`. Note that
* `'line'` requires the underlying geometry to be a {@link ol.geom.LineString},
@@ -8,9 +9,7 @@
* {@link ol.geom.MultiPolygon}.
* @enum {string}
*/
var _ol_style_TextPlacement_ = {
export default {
POINT: 'point',
LINE: 'line'
};
export default _ol_style_TextPlacement_;