Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9479973

Browse files
Desplandismgermerie
authored andcommitted
doc: remove empty class used for documentation
1 parent 29dfc60 commit 9479973

File tree

6 files changed

+11
-19
lines changed

6 files changed

+11
-19
lines changed

docs/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function sortByPackage(members, navList) {
6666

6767
for (const type in members) {
6868
const member = members[type];
69-
if (!member || type == 'globals' || type == 'tutorials') { continue; }
69+
if (!member || type == 'tutorials') { continue; }
7070
member.forEach((m) => {
7171
const p = invertedNavList[m.name] || invertedNavList[m.memberof];
7272
if (!p) { return; }

docs/tmpl/page.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<section>
2121

2222
<article>
23-
<?js if (content.kind === 'class' || content.kind === 'module') { ?>
23+
<?js if (content.kind === 'class' || content.kind === 'module' || content.kind === 'typedef') { ?>
2424
<h1>
2525
<?js= content.name ?>
2626
<?js if (content.augments && content.augments.length) { ?>

src/Core/Feature.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const FEATURE_TYPES = {
3131
};
3232

3333
/**
34+
* @typedef {Object} FeatureBuildingOptions
3435
* @property {string} crs - The CRS to convert the input coordinates to.
3536
* @property {string} [structure='2d'] - data structure type : 2d or 3d.
3637
* If the structure is 3d, the feature have 3 dimensions by vertices positions and
@@ -47,8 +48,7 @@ export const FEATURE_TYPES = {
4748
* @property {Style} style - The style to inherit when creating
4849
* style for all new features.
4950
*
50-
*/
51-
export class FeatureBuildingOptions {}
51+
*/
5252

5353
/**
5454
* @property {Extent} extent - The 2D extent containing all the points

src/Core/Style.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,11 @@ function _addIcon(icon, domElement, opt) {
299299
}
300300

301301
/**
302+
* An object that can contain any properties (order, zoom, fill, stroke, point,
303+
* text or/and icon) and sub properties of a Style.<br/>
304+
* Used for the instanciation of a {@link Style}.
305+
*
302306
* @typedef {Object} StyleOptions
303-
* @memberof StyleOptions
304307
*
305308
* @property {Number} [order] - Order of the features that will be associated to
306309
* the style. It can helps sorting and prioritizing features if needed.
@@ -442,15 +445,6 @@ function _addIcon(icon, domElement, opt) {
442445
* `0.0` and `1.0`. Default is `1.0`.
443446
*/
444447

445-
/**
446-
* @description An object that can contain any properties
447-
* (order, zoom, fill, stroke, point, text or/and icon)
448-
* and sub properties of a Style.<br/>
449-
* Used for the instanciation of a {@link Style}.
450-
* @hideconstructor
451-
*/
452-
export class StyleOptions {}
453-
454448
/**
455449
* @class
456450
* @classdesc A Style is a class that defines the visual appearance of {@link

src/Renderer/PointsMaterial.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@ const white = new THREE.Color(1.0, 1.0, 1.0);
3636
* top of canopy, and water. The different classes are defined using numeric
3737
* integer codes in the files.
3838
*
39+
* @typedef {Object} Classification
3940
* @property {object} category - category classification,
4041
* @property {boolean} category.visible - category visibility,
4142
* @property {string} category.name - category name,
4243
* @property {THREE.Color} category.color - category color,
4344
* @property {number} category.opacity - category opacity,
4445
*/
45-
// eslint-disable-next-line
46-
class /* istanbul ignore next */ Classification {}
4746

4847
export const ClassificationScheme = {
4948
DEFAULT: {

src/Source/Source.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,11 @@ class InformationsData {
4747
}
4848
}
4949
/**
50-
* This class describes parsing options.
50+
* This interface describes parsing options.
51+
* @typedef {Object} ParsingOptions
5152
* @property {InformationsData|Source} in - data informations contained in the file.
5253
* @property {FeatureBuildingOptions|Layer} out - options indicates how the features should be built.
5354
*/
54-
// eslint-disable-next-line
55-
class /* istanbul ignore next */ ParsingOptions {}
5655

5756
let uid = 0;
5857

0 commit comments

Comments
 (0)