Skip to content

Commit

Permalink
Merge pull request #1416 from paireks/fix/missingJsExtensions
Browse files Browse the repository at this point in the history
Add missing .js endings for import
  • Loading branch information
xeolabs authored Mar 14, 2024
2 parents 2e943fd + 9c39859 commit f047870
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/plugins/GLTFLoaderPlugin/GLTFDefaultDataSource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {utils} from "../../viewer/scene/utils.js";
import {core} from "../../viewer/scene/core";
import {core} from "../../viewer/scene/core.js";

/**
* Default data access strategy for {@link GLTFLoaderPlugin}.
Expand Down
2 changes: 1 addition & 1 deletion src/viewer/Plugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Map} from "./scene/utils/Map.js";
import {core} from "./scene/core";
import {core} from "./scene/core.js";

/**
@desc Base class for {@link Viewer} plugin classes.
Expand Down
2 changes: 1 addition & 1 deletion src/viewer/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {CameraFlightAnimation} from "./scene/camera/CameraFlightAnimation.js";
import {CameraControl} from "./scene/CameraControl/CameraControl.js";
import {MetaScene} from "./metadata/MetaScene.js";
import {LocaleService} from "./localization/LocaleService.js";
import html2canvas from 'html2canvas/dist/html2canvas.esm.js';
import html2canvas from '../../node_modules/html2canvas/dist/html2canvas.esm.js';

/**
* The 3D Viewer at the heart of the xeokit SDK.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {TrianglesBatchingRenderer} from "./TrianglesBatchingRenderer.js";
import {EdgesRenderer} from "./EdgesRenderer";
import {EdgesRenderer} from "./EdgesRenderer.js";


/**
Expand Down
2 changes: 1 addition & 1 deletion src/viewer/scene/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @private
*/
import {core} from "./core";
import {core} from "./core.js";

function xmlToJson(node, attributeRenamer) {
if (node.nodeType === node.TEXT_NODE) {
Expand Down
2 changes: 1 addition & 1 deletion src/viewer/scene/utils/FileLoader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Cache} from './Cache.js';
import {Loader} from './Loader.js';
import {core} from "../core";
import {core} from "../core.js";

const loading = {};

Expand Down

0 comments on commit f047870

Please sign in to comment.