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

View File

@@ -13,8 +13,8 @@ import {getPointResolution, transform} from './proj.js';
* The resolution is calculated regardless of what resolutions
* are actually available in the dataset (TileGrid, Image, ...).
*
* @param {module:ol/proj/Projection~Projection} sourceProj Source projection.
* @param {module:ol/proj/Projection~Projection} targetProj Target projection.
* @param {module:ol/proj/Projection} sourceProj Source projection.
* @param {module:ol/proj/Projection} targetProj Target projection.
* @param {module:ol/coordinate~Coordinate} targetCenter Target center.
* @param {number} targetResolution Target resolution.
* @return {number} The best resolution to use. Can be +-Infinity, NaN or 0.
@@ -81,7 +81,7 @@ function enlargeClipPoint(centroidX, centroidY, x, y) {
* @param {module:ol/extent~Extent} sourceExtent Extent of the data source.
* @param {number} targetResolution Target resolution.
* @param {module:ol/extent~Extent} targetExtent Target extent.
* @param {module:ol/reproj/Triangulation~Triangulation} triangulation
* @param {module:ol/reproj/Triangulation} triangulation
* Calculated triangulation.
* @param {Array.<{extent: module:ol/extent~Extent,
* image: (HTMLCanvasElement|Image|HTMLVideoElement)}>} sources