Skip to content

Commit

Permalink
chore: remove unnecessary "runnable" statement
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Jun 27, 2024
1 parent 2acd9d1 commit 69f929a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion viewer/packages/tools/src/Measurement/MeasurementTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type MeasurementEvents = 'added' | 'started' | 'ended' | 'disposed';
* measurementTool.dispose();
* ```
* @example
* ```jsx runnable
* ```js
* const measurementTool = new MeasurementTool(viewer, {distanceToLabelCallback: (distanceInMeters) => {
* // 1 meters = 3.281 feet
* const distancesInFeet = distanceInMeters * 3.281;
Expand Down

0 comments on commit 69f929a

Please sign in to comment.