Shorter module paths for default exports

This commit is contained in:
ahocevar
2018-04-25 17:23:56 +02:00
parent 6cb115d6a4
commit 440d1ad3e1
233 changed files with 2136 additions and 2042 deletions
+5 -5
View File
@@ -18,11 +18,11 @@ import Layer from '../layer/Layer.js';
* visible.
* @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
* be visible.
* @property {module:ol/PluggableMap~PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
* @property {module:ol/PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
* use {@link ol.Map#addLayer}.
* @property {module:ol/source/Image~ImageSource} [source] Source for this layer.
* @property {module:ol/source/Image} [source] Source for this layer.
*/
@@ -35,7 +35,7 @@ import Layer from '../layer/Layer.js';
* options means that `title` is observable, and has get/set accessors.
*
* @constructor
* @extends {module:ol/layer/Layer~Layer}
* @extends {module:ol/layer/Layer}
* @fires module:ol/render/Event~RenderEvent
* @param {module:ol/layer/Image~Options=} opt_options Layer options.
* @api
@@ -57,9 +57,9 @@ inherits(ImageLayer, Layer);
/**
* Return the associated {@link module:ol/source/Image~ImageSource source} of the image layer.
* Return the associated {@link module:ol/source/Image source} of the image layer.
* @function
* @return {module:ol/source/Image~ImageSource} Source.
* @return {module:ol/source/Image} Source.
* @api
*/
ImageLayer.prototype.getSource;