Shorter module paths for default exports

This commit is contained in:
Frederic Junod
2018-05-09 10:45:35 +02:00
parent bae2ac4f0f
commit af1f6836af
50 changed files with 99 additions and 101 deletions

View File

@@ -32,7 +32,7 @@ import SourceState from '../source/State.js';
* @typedef {Object} Options
* @property {module:ol/source/Source~AttributionLike} [attributions]
* @property {module:ol/proj~ProjectionLike} projection
* @property {module:ol/source/State~State} [state]
* @property {module:ol/source/State} [state]
* @property {boolean} [wrapX]
*/
@@ -69,7 +69,7 @@ const Source = function(options) {
/**
* @private
* @type {module:ol/source/State~State}
* @type {module:ol/source/State}
*/
this.state_ = options.state !== undefined ?
options.state : SourceState.READY;
@@ -149,7 +149,7 @@ Source.prototype.getResolutions = function() {};
/**
* Get the state of the source, see {@link module:ol/source/State~State} for possible states.
* @return {module:ol/source/State~State} State.
* @return {module:ol/source/State} State.
* @api
*/
Source.prototype.getState = function() {
@@ -189,7 +189,7 @@ Source.prototype.setAttributions = function(attributions) {
/**
* Set the state of the source.
* @param {module:ol/source/State~State} state State.
* @param {module:ol/source/State} state State.
* @protected
*/
Source.prototype.setState = function(state) {