feat: use `three` as module (#3270)

10.9-maintenance
Tomas Chmelevskij 2023-01-23 15:57:47 +01:00 committed by GitHub
parent 4ea53294d8
commit 88b522d172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,6 @@ module.exports = {
},
globals: {
d3: true,
THREE: true,
cordova: true,
cordovaUI: true,
ol: true,

View File

@ -17,6 +17,7 @@ import UI_PHONES from './phones_ui.js';
import { isExpertModeEnabled } from './utils/isExportModeEnabled.js';
import { updateTabList } from './utils/updateTabList.js';
import { checkForConfiguratorUpdates } from './utils/checkForConfiguratorUpdates.js';
import * as THREE from 'three';
$(document).ready(function () {

View File

@ -1,4 +1,5 @@
import FC from "./fc";
import * as THREE from 'three';
// generate mixer
export const mixerList = [

View File

@ -14,6 +14,7 @@ import { API_VERSION_1_42, API_VERSION_1_43, API_VERSION_1_44, API_VERSION_1_45
import { gui_log } from "../gui_log";
import { degToRad, isInt } from "../utils/common";
import semver from "semver";
import * as THREE from "three";
const pid_tuning = {
RATE_PROFILE_MASK: 128,

View File

@ -17,6 +17,7 @@ import { gui_log } from "../gui_log";
import { degToRad } from "../utils/common";
import semver from 'semver';
import { updateTabList } from "../utils/updateTabList";
import * as THREE from 'three';
import CryptoES from 'crypto-es';

View File

@ -62,9 +62,6 @@
<script type="text/javascript" src="./node_modules/jquery-ui-npm/jquery-ui.min.js"></script>
<script type="text/javascript" src="./js/libraries/d3.min.js"></script>
<script type="text/javascript" src="./js/libraries/jquery.nouislider.all.min.js"></script>
<script type="text/javascript" src="./node_modules/three/build/three.min.js"></script>
<script type="text/javascript" src="./node_modules/three/examples/js/renderers/CanvasRenderer.js"></script>
<script type="text/javascript" src="./node_modules/three/examples/js/renderers/Projector.js"></script>
<script type="text/javascript" src="./js/libraries/jquery.flightindicators.js"></script>
<script type="text/javascript" src="./node_modules/bluebird/js/browser/bluebird.min.js"></script>
<script type="text/javascript" src="./js/libraries/jquery.ba-throttle-debounce.min.js"></script>