Explicit void
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/Feature
|
||||
*/
|
||||
import {UNDEFINED} from '../functions.js';
|
||||
import {VOID} from '../functions.js';
|
||||
import {extend} from '../array.js';
|
||||
import {createOrUpdateFromCoordinate, createOrUpdateFromFlatCoordinates, getCenter, getHeight} from '../extent.js';
|
||||
import GeometryType from '../geom/GeometryType.js';
|
||||
@@ -266,7 +266,7 @@ RenderFeature.prototype.getSimplifiedGeometry =
|
||||
/**
|
||||
* @return {undefined}
|
||||
*/
|
||||
RenderFeature.prototype.getStyleFunction = UNDEFINED;
|
||||
RenderFeature.prototype.getStyleFunction = VOID;
|
||||
|
||||
|
||||
export default RenderFeature;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @module ol/render/canvas/Replay
|
||||
*/
|
||||
import {getUid} from '../../util.js';
|
||||
import {UNDEFINED} from '../../functions.js';
|
||||
import {VOID} from '../../functions.js';
|
||||
import {equals, reverseSubArray} from '../../array.js';
|
||||
import {asColorLike} from '../../colorlike.js';
|
||||
import {buffer, clone, coordinateRelationship, createEmpty, createOrUpdate,
|
||||
@@ -1082,7 +1082,7 @@ class CanvasReplay extends VectorContext {
|
||||
/**
|
||||
* FIXME empty description for jsdoc
|
||||
*/
|
||||
CanvasReplay.prototype.finish = UNDEFINED;
|
||||
CanvasReplay.prototype.finish = VOID;
|
||||
|
||||
|
||||
export default CanvasReplay;
|
||||
|
||||
Reference in New Issue
Block a user