Lowercase module names for modules without a default export

This commit is contained in:
Tim Schaub
2021-05-03 07:32:12 -06:00
parent 72ea4e7599
commit f08f31101c
7 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ import {
makeStructureNS, makeStructureNS,
pushParseAndPop, pushParseAndPop,
} from '../xml.js'; } from '../xml.js';
import {readHref} from './XLink.js'; import {readHref} from './xlink.js';
import {readString} from './xsd.js'; import {readString} from './xsd.js';
/** /**

View File

@@ -17,7 +17,7 @@ import {
readNonNegativeIntegerString, readNonNegativeIntegerString,
readString, readString,
} from './xsd.js'; } from './xsd.js';
import {readHref} from './XLink.js'; import {readHref} from './xlink.js';
/** /**
* @const * @const

View File

@@ -12,7 +12,7 @@ import {
pushParseAndPop, pushParseAndPop,
} from '../xml.js'; } from '../xml.js';
import {readDecimal, readNonNegativeInteger, readString} from './xsd.js'; import {readDecimal, readNonNegativeInteger, readString} from './xsd.js';
import {readHref} from './XLink.js'; import {readHref} from './xlink.js';
/** /**
* @const * @const

View File

@@ -1,5 +1,5 @@
/** /**
* @module ol/format/XLink * @module ol/format/xlink
*/ */
/** /**

View File

@@ -8,7 +8,7 @@ import {parseLiteralStyle} from '../webgl/ShaderBuilder.js';
/** /**
* @typedef {Object} Options * @typedef {Object} Options
* @property {import('../style/LiteralStyle.js').LiteralStyle} style Literal style to apply to the layer features. * @property {import('../style/literal.js').LiteralStyle} style Literal style to apply to the layer features.
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element. * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
* @property {number} [opacity=1] Opacity (0, 1). * @property {number} [opacity=1] Opacity (0, 1).
* @property {boolean} [visible=true] Visibility. * @property {boolean} [visible=true] Visibility.

View File

@@ -1,7 +1,7 @@
/** /**
* Literal Style objects differ from standard styles in that they cannot * Literal style objects differ from standard styles in that they cannot
* be functions and are made up of simple objects instead of classes. * be functions and are made up of simple objects instead of classes.
* @module ol/style/LiteralStyle * @module ol/style/literal
*/ */
/** /**

View File

@@ -414,14 +414,14 @@ ${hitDetectionBypass}
*/ */
/** /**
* Parses a {@link import("../style/LiteralStyle").LiteralStyle} object and returns a {@link ShaderBuilder} * Parses a {@link import("../style/literal").LiteralStyle} object and returns a {@link ShaderBuilder}
* object that has been configured according to the given style, as well as `attributes` and `uniforms` * object that has been configured according to the given style, as well as `attributes` and `uniforms`
* arrays to be fed to the `WebGLPointsRenderer` class. * arrays to be fed to the `WebGLPointsRenderer` class.
* *
* Also returns `uniforms` and `attributes` properties as expected by the * Also returns `uniforms` and `attributes` properties as expected by the
* {@link module:ol/renderer/webgl/PointsLayer~WebGLPointsLayerRenderer}. * {@link module:ol/renderer/webgl/PointsLayer~WebGLPointsLayerRenderer}.
* *
* @param {import("../style/LiteralStyle").LiteralStyle} style Literal style. * @param {import("../style/literal").LiteralStyle} style Literal style.
* @return {StyleParseResult} Result containing shader params, attributes and uniforms. * @return {StyleParseResult} Result containing shader params, attributes and uniforms.
*/ */
export function parseLiteralStyle(style) { export function parseLiteralStyle(style) {