Simplify import path in ol/style/

This commit is contained in:
Frederic Junod
2018-10-12 14:40:46 +02:00
parent 219dacb232
commit caaf8cb86f
7 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
*/ */
import {MAX_TEXTURE_SIZE as WEBGL_MAX_TEXTURE_SIZE} from '../webgl.js'; import {MAX_TEXTURE_SIZE as WEBGL_MAX_TEXTURE_SIZE} from '../webgl.js';
import {VOID} from '../functions.js'; import {VOID} from '../functions.js';
import Atlas from '../style/Atlas.js'; import Atlas from './Atlas.js';
/** /**
+1 -1
View File
@@ -2,7 +2,7 @@
* @module ol/style/Circle * @module ol/style/Circle
*/ */
import RegularShape from '../style/RegularShape.js'; import RegularShape from './RegularShape.js';
/** /**
+4 -4
View File
@@ -7,10 +7,10 @@ import {assert} from '../asserts.js';
import {asArray} from '../color.js'; import {asArray} from '../color.js';
import {listen, unlisten} from '../events.js'; import {listen, unlisten} from '../events.js';
import EventType from '../events/EventType.js'; import EventType from '../events/EventType.js';
import IconAnchorUnits from '../style/IconAnchorUnits.js'; import IconAnchorUnits from './IconAnchorUnits.js';
import {get as getIconImage} from '../style/IconImage.js'; import {get as getIconImage} from './IconImage.js';
import IconOrigin from '../style/IconOrigin.js'; import IconOrigin from './IconOrigin.js';
import ImageStyle from '../style/Image.js'; import ImageStyle from './Image.js';
/** /**
+1 -1
View File
@@ -7,7 +7,7 @@ import {listenOnce, unlistenByKey} from '../events.js';
import EventTarget from '../events/Target.js'; import EventTarget from '../events/Target.js';
import EventType from '../events/EventType.js'; import EventType from '../events/EventType.js';
import ImageState from '../ImageState.js'; import ImageState from '../ImageState.js';
import {shared as iconImageCache} from '../style/IconImageCache.js'; import {shared as iconImageCache} from './IconImageCache.js';
class IconImage extends EventTarget { class IconImage extends EventTarget {
/** /**
+1 -1
View File
@@ -8,7 +8,7 @@ import {createCanvasContext2D} from '../dom.js';
import {CANVAS_LINE_DASH} from '../has.js'; import {CANVAS_LINE_DASH} from '../has.js';
import ImageState from '../ImageState.js'; import ImageState from '../ImageState.js';
import {defaultStrokeStyle, defaultFillStyle, defaultLineCap, defaultLineWidth, defaultLineJoin, defaultMiterLimit} from '../render/canvas.js'; import {defaultStrokeStyle, defaultFillStyle, defaultLineCap, defaultLineWidth, defaultLineJoin, defaultMiterLimit} from '../render/canvas.js';
import ImageStyle from '../style/Image.js'; import ImageStyle from './Image.js';
/** /**
+3 -3
View File
@@ -88,9 +88,9 @@
*/ */
import {assert} from '../asserts.js'; import {assert} from '../asserts.js';
import GeometryType from '../geom/GeometryType.js'; import GeometryType from '../geom/GeometryType.js';
import CircleStyle from '../style/Circle.js'; import CircleStyle from './Circle.js';
import Fill from '../style/Fill.js'; import Fill from './Fill.js';
import Stroke from '../style/Stroke.js'; import Stroke from './Stroke.js';
/** /**
+2 -2
View File
@@ -1,8 +1,8 @@
/** /**
* @module ol/style/Text * @module ol/style/Text
*/ */
import Fill from '../style/Fill.js'; import Fill from './Fill.js';
import TextPlacement from '../style/TextPlacement.js'; import TextPlacement from './TextPlacement.js';
/** /**