@inweb/viewer-visualize 26.10.4 → 26.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inweb/viewer-visualize",
3
- "version": "26.10.4",
3
+ "version": "26.10.5",
4
4
  "description": "JavaScript library for rendering CAD and BIM files in a browser using VisualizeJS",
5
5
  "homepage": "https://cloud.opendesign.com/docs/index.html",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -29,10 +29,10 @@
29
29
  "docs": "typedoc"
30
30
  },
31
31
  "dependencies": {
32
- "@inweb/client": "~26.10.4",
33
- "@inweb/eventemitter2": "~26.10.4",
34
- "@inweb/markup": "~26.10.4",
35
- "@inweb/viewer-core": "~26.10.4"
32
+ "@inweb/client": "~26.10.5",
33
+ "@inweb/eventemitter2": "~26.10.5",
34
+ "@inweb/markup": "~26.10.5",
35
+ "@inweb/viewer-core": "~26.10.5"
36
36
  },
37
37
  "visualizeJS": "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/master/Visualize.js"
38
38
  }
@@ -20,7 +20,6 @@
20
20
  // By use of this software, its documentation or related materials, you
21
21
  // acknowledge and accept the above terms.
22
22
  ///////////////////////////////////////////////////////////////////////////////
23
- /* eslint-disable no-unused-vars */
24
23
 
25
24
  import { CANVAS_EVENTS } from "@inweb/viewer-core";
26
25
  import { Viewer } from "../../Viewer";
@@ -20,7 +20,7 @@
20
20
  // By use of this software, its documentation or related materials, you
21
21
  // acknowledge and accept the above terms.
22
22
  ///////////////////////////////////////////////////////////////////////////////
23
- /* eslint-disable no-unused-vars */
23
+
24
24
  import { Viewer } from "../Viewer";
25
25
  import { OrbitAction } from "./Actions/OrbitAction";
26
26
  import { Point2d } from "./Common/Geometry";
@@ -20,7 +20,7 @@
20
20
  // By use of this software, its documentation or related materials, you
21
21
  // acknowledge and accept the above terms.
22
22
  ///////////////////////////////////////////////////////////////////////////////
23
- /* eslint-disable no-unused-vars */
23
+
24
24
  import { Viewer } from "../Viewer";
25
25
  import { PanAction } from "./Actions/PanAction";
26
26
  import { Point3d } from "./Common/Geometry";
@@ -20,7 +20,6 @@
20
20
  // By use of this software, its documentation or related materials, you
21
21
  // acknowledge and accept the above terms.
22
22
  ///////////////////////////////////////////////////////////////////////////////
23
- /* eslint-disable no-unused-vars */
24
23
 
25
24
  import { Viewer } from "../../Viewer";
26
25
  import { OdBaseDragger } from "../Common/OdBaseDragger";
@@ -20,7 +20,7 @@
20
20
  // By use of this software, its documentation or related materials, you
21
21
  // acknowledge and accept the above terms.
22
22
  ///////////////////////////////////////////////////////////////////////////////
23
- /* eslint-disable no-unused-vars */
23
+
24
24
  import { Viewer } from "../Viewer";
25
25
  import { Point2d } from "./Common/Geometry";
26
26
  import { ViewParams } from "./Common/OdaGeAction";
@@ -43,8 +43,7 @@ export class MarkupFactory {
43
43
  break;
44
44
 
45
45
  default:
46
- throw new Error("Error during Markup initialization. Unknown Markup type.");
47
- break;
46
+ throw new Error(`Unknown Markup type: ${markupType}`);
48
47
  }
49
48
 
50
49
  return markup;