From 87f035414e22fd5a404f4117e4f2c5edd643cc2e Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Thu, 27 Feb 2020 10:20:30 +0100 Subject: [PATCH] Examples: Deprecate examples/js. --- docs/manual/en/introduction/Import-via-modules.html | 4 ++-- docs/manual/en/introduction/Loading-3D-models.html | 11 +---------- docs/manual/zh/introduction/Import-via-modules.html | 8 ++++---- docs/manual/zh/introduction/Loading-3D-models.html | 11 ++--------- examples/js/WebGL.js | 1 + examples/js/animation/AnimationClipCreator.js | 1 + examples/js/animation/CCDIKSolver.js | 1 + examples/js/animation/MMDAnimationHelper.js | 1 + examples/js/animation/MMDPhysics.js | 1 + examples/js/animation/TimelinerController.js | 1 + examples/js/cameras/CinematicCamera.js | 1 + examples/js/controls/DeviceOrientationControls.js | 1 + examples/js/controls/DragControls.js | 1 + examples/js/controls/FirstPersonControls.js | 1 + examples/js/controls/FlyControls.js | 1 + examples/js/controls/OrbitControls.js | 1 + examples/js/controls/PointerLockControls.js | 1 + examples/js/controls/TrackballControls.js | 1 + examples/js/controls/TransformControls.js | 1 + examples/js/curves/CurveExtras.js | 1 + examples/js/curves/NURBSCurve.js | 1 + examples/js/curves/NURBSSurface.js | 1 + examples/js/curves/NURBSUtils.js | 1 + examples/js/effects/AnaglyphEffect.js | 1 + examples/js/effects/AsciiEffect.js | 1 + examples/js/effects/OutlineEffect.js | 1 + examples/js/effects/ParallaxBarrierEffect.js | 1 + examples/js/effects/PeppersGhostEffect.js | 1 + examples/js/effects/StereoEffect.js | 1 + examples/js/exporters/ColladaExporter.js | 1 + examples/js/exporters/DRACOExporter.js | 1 + examples/js/exporters/GLTFExporter.js | 1 + examples/js/exporters/MMDExporter.js | 1 + examples/js/exporters/OBJExporter.js | 1 + examples/js/exporters/PLYExporter.js | 1 + examples/js/exporters/STLExporter.js | 1 + examples/js/exporters/TypedGeometryExporter.js | 1 + examples/js/geometries/BoxLineGeometry.js | 1 + examples/js/geometries/ConvexGeometry.js | 1 + examples/js/geometries/DecalGeometry.js | 1 + examples/js/geometries/LightningStrike.js | 1 + examples/js/geometries/ParametricGeometries.js | 1 + examples/js/geometries/TeapotBufferGeometry.js | 1 + examples/js/interactive/SelectionBox.js | 1 + examples/js/interactive/SelectionHelper.js | 1 + examples/js/lights/LightProbeGenerator.js | 1 + examples/js/lights/RectAreaLightUniformsLib.js | 1 + examples/js/lines/Line2.js | 1 + examples/js/lines/LineGeometry.js | 1 + examples/js/lines/LineMaterial.js | 1 + examples/js/lines/LineSegments2.js | 1 + examples/js/lines/LineSegmentsGeometry.js | 1 + examples/js/lines/Wireframe.js | 1 + examples/js/lines/WireframeGeometry2.js | 1 + examples/js/loaders/3MFLoader.js | 1 + examples/js/loaders/AMFLoader.js | 1 + examples/js/loaders/AssimpLoader.js | 1 + examples/js/loaders/BVHLoader.js | 1 + examples/js/loaders/BasisTextureLoader.js | 1 + examples/js/loaders/ColladaLoader.js | 1 + examples/js/loaders/DDSLoader.js | 1 + examples/js/loaders/DRACOLoader.js | 1 + examples/js/loaders/EXRLoader.js | 1 + examples/js/loaders/FBXLoader.js | 1 + examples/js/loaders/GCodeLoader.js | 1 + examples/js/loaders/GLTFLoader.js | 1 + examples/js/loaders/HDRCubeTextureLoader.js | 1 + examples/js/loaders/KMZLoader.js | 1 + examples/js/loaders/KTXLoader.js | 1 + examples/js/loaders/LDrawLoader.js | 1 + examples/js/loaders/LWOLoader.js | 1 + examples/js/loaders/MD2Loader.js | 1 + examples/js/loaders/MMDLoader.js | 1 + examples/js/loaders/MTLLoader.js | 1 + examples/js/loaders/NRRDLoader.js | 1 + examples/js/loaders/OBJLoader.js | 1 + examples/js/loaders/PCDLoader.js | 1 + examples/js/loaders/PDBLoader.js | 1 + examples/js/loaders/PLYLoader.js | 1 + examples/js/loaders/PRWMLoader.js | 1 + examples/js/loaders/PVRLoader.js | 1 + examples/js/loaders/RGBELoader.js | 1 + examples/js/loaders/STLLoader.js | 1 + examples/js/loaders/SVGLoader.js | 1 + examples/js/loaders/TDSLoader.js | 1 + examples/js/loaders/TGALoader.js | 1 + examples/js/loaders/TTFLoader.js | 1 + examples/js/loaders/VRMLLoader.js | 1 + examples/js/loaders/VRMLoader.js | 1 + examples/js/loaders/VTKLoader.js | 1 + examples/js/loaders/XLoader.js | 1 + examples/js/math/ColorConverter.js | 1 + examples/js/math/ConvexHull.js | 1 + examples/js/math/ImprovedNoise.js | 1 + examples/js/math/Lut.js | 1 + examples/js/math/SimplexNoise.js | 1 + examples/js/misc/ConvexObjectBreaker.js | 1 + examples/js/misc/GPUComputationRenderer.js | 1 + examples/js/misc/Gyroscope.js | 1 + examples/js/misc/MD2Character.js | 1 + examples/js/misc/MD2CharacterComplex.js | 1 + examples/js/misc/MorphAnimMesh.js | 1 + examples/js/misc/MorphBlendMesh.js | 1 + examples/js/misc/Ocean.js | 1 + examples/js/misc/RollerCoaster.js | 1 + examples/js/misc/Volume.js | 1 + examples/js/misc/VolumeSlice.js | 1 + examples/js/modifiers/ExplodeModifier.js | 1 + examples/js/modifiers/SimplifyModifier.js | 1 + examples/js/modifiers/SubdivisionModifier.js | 1 + examples/js/modifiers/TessellateModifier.js | 1 + examples/js/objects/Fire.js | 1 + examples/js/objects/Lensflare.js | 1 + examples/js/objects/LightningStorm.js | 1 + examples/js/objects/MarchingCubes.js | 1 + examples/js/objects/Reflector.js | 1 + examples/js/objects/ReflectorRTT.js | 1 + examples/js/objects/Refractor.js | 1 + examples/js/objects/ShadowMesh.js | 1 + examples/js/objects/Sky.js | 1 + examples/js/objects/Water.js | 1 + examples/js/objects/Water2.js | 1 + examples/js/postprocessing/AdaptiveToneMappingPass.js | 1 + examples/js/postprocessing/AfterimagePass.js | 1 + examples/js/postprocessing/BloomPass.js | 1 + examples/js/postprocessing/BokehPass.js | 1 + examples/js/postprocessing/ClearPass.js | 1 + examples/js/postprocessing/CubeTexturePass.js | 1 + examples/js/postprocessing/DotScreenPass.js | 1 + examples/js/postprocessing/EffectComposer.js | 1 + examples/js/postprocessing/FilmPass.js | 1 + examples/js/postprocessing/GlitchPass.js | 1 + examples/js/postprocessing/HalftonePass.js | 1 + examples/js/postprocessing/MaskPass.js | 1 + examples/js/postprocessing/OutlinePass.js | 1 + examples/js/postprocessing/RenderPass.js | 1 + examples/js/postprocessing/SAOPass.js | 1 + examples/js/postprocessing/SMAAPass.js | 1 + examples/js/postprocessing/SSAARenderPass.js | 1 + examples/js/postprocessing/SSAOPass.js | 1 + examples/js/postprocessing/SavePass.js | 1 + examples/js/postprocessing/ShaderPass.js | 1 + examples/js/postprocessing/TAARenderPass.js | 1 + examples/js/postprocessing/TexturePass.js | 1 + examples/js/postprocessing/UnrealBloomPass.js | 1 + examples/js/renderers/CSS2DRenderer.js | 1 + examples/js/renderers/CSS3DRenderer.js | 1 + examples/js/renderers/Projector.js | 1 + examples/js/renderers/SVGRenderer.js | 1 + examples/js/shaders/AfterimageShader.js | 1 + examples/js/shaders/BasicShader.js | 1 + examples/js/shaders/BleachBypassShader.js | 1 + examples/js/shaders/BlendShader.js | 1 + examples/js/shaders/BokehShader.js | 1 + examples/js/shaders/BokehShader2.js | 1 + examples/js/shaders/BrightnessContrastShader.js | 1 + examples/js/shaders/ColorCorrectionShader.js | 1 + examples/js/shaders/ColorifyShader.js | 1 + examples/js/shaders/ConvolutionShader.js | 1 + examples/js/shaders/CopyShader.js | 1 + examples/js/shaders/DOFMipMapShader.js | 1 + examples/js/shaders/DepthLimitedBlurShader.js | 1 + examples/js/shaders/DigitalGlitch.js | 1 + examples/js/shaders/DotScreenShader.js | 1 + examples/js/shaders/FXAAShader.js | 1 + examples/js/shaders/FilmShader.js | 1 + examples/js/shaders/FocusShader.js | 1 + examples/js/shaders/FreiChenShader.js | 1 + examples/js/shaders/FresnelShader.js | 1 + examples/js/shaders/GammaCorrectionShader.js | 1 + examples/js/shaders/GodRaysShader.js | 1 + examples/js/shaders/HalftoneShader.js | 1 + examples/js/shaders/HorizontalBlurShader.js | 1 + examples/js/shaders/HorizontalTiltShiftShader.js | 1 + examples/js/shaders/HueSaturationShader.js | 1 + examples/js/shaders/KaleidoShader.js | 1 + examples/js/shaders/LuminosityHighPassShader.js | 1 + examples/js/shaders/LuminosityShader.js | 1 + examples/js/shaders/MirrorShader.js | 1 + examples/js/shaders/NormalMapShader.js | 1 + examples/js/shaders/OceanShaders.js | 1 + examples/js/shaders/ParallaxShader.js | 1 + examples/js/shaders/PixelShader.js | 1 + examples/js/shaders/RGBShiftShader.js | 1 + examples/js/shaders/SAOShader.js | 1 + examples/js/shaders/SMAAShader.js | 1 + examples/js/shaders/SSAOShader.js | 1 + examples/js/shaders/SepiaShader.js | 1 + examples/js/shaders/SobelOperatorShader.js | 1 + examples/js/shaders/TechnicolorShader.js | 1 + examples/js/shaders/ToneMapShader.js | 1 + examples/js/shaders/ToonShader.js | 1 + examples/js/shaders/TranslucentShader.js | 1 + examples/js/shaders/TriangleBlurShader.js | 1 + examples/js/shaders/UnpackDepthRGBAShader.js | 1 + examples/js/shaders/VerticalBlurShader.js | 1 + examples/js/shaders/VerticalTiltShiftShader.js | 1 + examples/js/shaders/VignetteShader.js | 1 + examples/js/shaders/VolumeShader.js | 1 + examples/js/shaders/WaterRefractionShader.js | 1 + examples/js/utils/BufferGeometryUtils.js | 1 + examples/js/utils/GeometryUtils.js | 1 + examples/js/utils/SceneUtils.js | 1 + examples/js/utils/ShadowMapViewer.js | 1 + examples/js/utils/SkeletonUtils.js | 1 + examples/js/utils/TypedArrayUtils.js | 1 + examples/js/utils/UVsDebug.js | 1 + utils/modularize.js | 4 ++++ 208 files changed, 216 insertions(+), 25 deletions(-) diff --git a/docs/manual/en/introduction/Import-via-modules.html b/docs/manual/en/introduction/Import-via-modules.html index ed7e07f2f6f6c5..47e775a94d7972 100644 --- a/docs/manual/en/introduction/Import-via-modules.html +++ b/docs/manual/en/introduction/Import-via-modules.html @@ -66,8 +66,8 @@

Importable Examples

The core of three.js is focused on the most important components of a 3D engine. Many other components like loaders or controls are part of the examples directory. three.js ensures that these files are kept in sync with the core but users have to import them separately if they are required - for a project. You can find in the [link:https://github.com/mrdoob/three.js/tree/master/examples/jsm examples/jsm] directory an ES6 - module version for almost all example files. If you install three.js via npm, you can import them like so: + for a project. You can find them in the [link:https://github.com/mrdoob/three.js/tree/master/examples/jsm examples/jsm] directory. If you install three.js + via npm, import example files like so:

import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; diff --git a/docs/manual/en/introduction/Loading-3D-models.html b/docs/manual/en/introduction/Loading-3D-models.html index e965d80a67cda4..2fb003e3474246 100644 --- a/docs/manual/en/introduction/Loading-3D-models.html +++ b/docs/manual/en/introduction/Loading-3D-models.html @@ -81,19 +81,10 @@

Loading

Only a few loaders (e.g. [page:ObjectLoader]) are included by default with - three.js — others should be added to your page individually. Depending on your - preference and comfort with build tools, choose one of the following: + three.js — others should be added to your app individually.

- // global script - <script src="GLTFLoader.js"></script> - - // commonjs - var THREE = window.THREE = require('three'); - require('three/examples/js/loaders/GLTFLoader'); - - // ES modules import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader'; diff --git a/docs/manual/zh/introduction/Import-via-modules.html b/docs/manual/zh/introduction/Import-via-modules.html index 3c35362c551520..5d20d7655ea461 100644 --- a/docs/manual/zh/introduction/Import-via-modules.html +++ b/docs/manual/zh/introduction/Import-via-modules.html @@ -64,10 +64,10 @@

导入这个模块

可引入的示例

- three.js的核心专注于实现3D引擎中最为重要的组件。其他诸如加载器和控制器等组件,是示例文件夹中的一部分。 - three.js确保这些文件能够与核心保持同步,但如果在一个项目中这些组件是必要的,用户将必须分别地引入它们。 - 你可以在[link:https://github.com/mrdoob/three.js/tree/master/examples/jsm examples/jsm]文件夹中找到所有示例文件的ES6版本。 - 如果你是通过npm来安装three.js的,那么你可以使用类似下面的代码来引入它们: + The core of three.js is focused on the most important components of a 3D engine. Many other components like loaders or controls are part of the + examples directory. three.js ensures that these files are kept in sync with the core but users have to import them separately if they are required + for a project. You can find them in the [link:https://github.com/mrdoob/three.js/tree/master/examples/jsm examples/jsm] directory. If you install three.js + via npm, import example files like so:

import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; diff --git a/docs/manual/zh/introduction/Loading-3D-models.html b/docs/manual/zh/introduction/Loading-3D-models.html index a890b6e696ca8b..63b57ebcbaad0d 100644 --- a/docs/manual/zh/introduction/Loading-3D-models.html +++ b/docs/manual/zh/introduction/Loading-3D-models.html @@ -70,18 +70,11 @@

推荐的工作流程

加载

- three.js中默认仅包含了几个加载器(例如:[page:ObjectLoader])——其它加载器需要你分别地添加到页面中。 - 取决于你对构建工具的偏好,选择以下任意一种方式: + Only a few loaders (e.g. [page:ObjectLoader]) are included by default with + three.js — others should be added to your app individually.

- // global script - <script src="GLTFLoader.js"></script> - - // commonjs - var THREE = window.THREE = require('three'); - require('three/examples/js/loaders/GLTFLoader'); - // ES modules import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader'; diff --git a/examples/js/WebGL.js b/examples/js/WebGL.js index 41fd599bcebf00..ab4c5605655c4e 100644 --- a/examples/js/WebGL.js +++ b/examples/js/WebGL.js @@ -1,3 +1,4 @@ +console.warn( "THREE.WebGL: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/animation/AnimationClipCreator.js b/examples/js/animation/AnimationClipCreator.js index b87f7153e47ea6..23ba6185f38110 100644 --- a/examples/js/animation/AnimationClipCreator.js +++ b/examples/js/animation/AnimationClipCreator.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AnimationClipCreator: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * * Creator of typical test AnimationClips / KeyframeTracks diff --git a/examples/js/animation/CCDIKSolver.js b/examples/js/animation/CCDIKSolver.js index 2d5853aac3a743..fe59d6d468f08e 100644 --- a/examples/js/animation/CCDIKSolver.js +++ b/examples/js/animation/CCDIKSolver.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CCDIKSolver: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author takahiro / https://github.com/takahirox * diff --git a/examples/js/animation/MMDAnimationHelper.js b/examples/js/animation/MMDAnimationHelper.js index 78b3c879addd88..ddbdf3d5f7dea9 100644 --- a/examples/js/animation/MMDAnimationHelper.js +++ b/examples/js/animation/MMDAnimationHelper.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDAnimationHelper: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author takahiro / https://github.com/takahirox * diff --git a/examples/js/animation/MMDPhysics.js b/examples/js/animation/MMDPhysics.js index 4bb4727eec48a6..f2091081645308 100644 --- a/examples/js/animation/MMDPhysics.js +++ b/examples/js/animation/MMDPhysics.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDPhysics: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author takahiro / https://github.com/takahirox * diff --git a/examples/js/animation/TimelinerController.js b/examples/js/animation/TimelinerController.js index f4588ed9d58b4c..ba6b504a1a95bc 100644 --- a/examples/js/animation/TimelinerController.js +++ b/examples/js/animation/TimelinerController.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TimelinerController: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Controller class for the Timeliner GUI. * diff --git a/examples/js/cameras/CinematicCamera.js b/examples/js/cameras/CinematicCamera.js index d679baa08ae462..2db74c901ffa00 100644 --- a/examples/js/cameras/CinematicCamera.js +++ b/examples/js/cameras/CinematicCamera.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CinematicCamera: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author greggman / http://games.greggman.com/ diff --git a/examples/js/controls/DeviceOrientationControls.js b/examples/js/controls/DeviceOrientationControls.js index b3fd5fb069c589..1e7b7dde92170f 100644 --- a/examples/js/controls/DeviceOrientationControls.js +++ b/examples/js/controls/DeviceOrientationControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DeviceOrientationControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author richt / http://richt.me * @author WestLangley / http://github.com/WestLangley diff --git a/examples/js/controls/DragControls.js b/examples/js/controls/DragControls.js index 14853002507e1d..b6b87fcdecbe21 100644 --- a/examples/js/controls/DragControls.js +++ b/examples/js/controls/DragControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DragControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / https://github.com/zz85 * @author mrdoob / http://mrdoob.com diff --git a/examples/js/controls/FirstPersonControls.js b/examples/js/controls/FirstPersonControls.js index add3b027658310..a39e1df000ae19 100644 --- a/examples/js/controls/FirstPersonControls.js +++ b/examples/js/controls/FirstPersonControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FirstPersonControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ diff --git a/examples/js/controls/FlyControls.js b/examples/js/controls/FlyControls.js index 435418bb11cca4..ac7944bde0fe0b 100644 --- a/examples/js/controls/FlyControls.js +++ b/examples/js/controls/FlyControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FlyControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author James Baicoianu / http://www.baicoianu.com/ */ diff --git a/examples/js/controls/OrbitControls.js b/examples/js/controls/OrbitControls.js index 02093f4d0a8a73..a0a5f331478cd9 100644 --- a/examples/js/controls/OrbitControls.js +++ b/examples/js/controls/OrbitControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OrbitControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author qiao / https://github.com/qiao * @author mrdoob / http://mrdoob.com diff --git a/examples/js/controls/PointerLockControls.js b/examples/js/controls/PointerLockControls.js index 67edc8456dbff7..5a4e0b9dde3c23 100644 --- a/examples/js/controls/PointerLockControls.js +++ b/examples/js/controls/PointerLockControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PointerLockControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author Mugen87 / https://github.com/Mugen87 diff --git a/examples/js/controls/TrackballControls.js b/examples/js/controls/TrackballControls.js index ff89280e1db1af..278c4fa29cdfec 100644 --- a/examples/js/controls/TrackballControls.js +++ b/examples/js/controls/TrackballControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TrackballControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Eberhard Graether / http://egraether.com/ * @author Mark Lundin / http://mark-lundin.com diff --git a/examples/js/controls/TransformControls.js b/examples/js/controls/TransformControls.js index 4da137bdd6ce5a..5a2b796fea6aef 100644 --- a/examples/js/controls/TransformControls.js +++ b/examples/js/controls/TransformControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TransformControls: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author arodic / https://github.com/arodic */ diff --git a/examples/js/curves/CurveExtras.js b/examples/js/curves/CurveExtras.js index 1986bad5c08e19..6078dbbdf707fb 100644 --- a/examples/js/curves/CurveExtras.js +++ b/examples/js/curves/CurveExtras.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CurveExtras: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * A bunch of parametric curves * @author zz85 diff --git a/examples/js/curves/NURBSCurve.js b/examples/js/curves/NURBSCurve.js index 9e63ba0c6ccac4..81d258501e8f01 100644 --- a/examples/js/curves/NURBSCurve.js +++ b/examples/js/curves/NURBSCurve.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NURBSCurve: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author renej * NURBS curve object diff --git a/examples/js/curves/NURBSSurface.js b/examples/js/curves/NURBSSurface.js index cdb04af04d13b9..66935175180637 100644 --- a/examples/js/curves/NURBSSurface.js +++ b/examples/js/curves/NURBSSurface.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NURBSSurface: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author renej * NURBS surface object diff --git a/examples/js/curves/NURBSUtils.js b/examples/js/curves/NURBSUtils.js index 117d13c60f4291..1e723778694b4b 100644 --- a/examples/js/curves/NURBSUtils.js +++ b/examples/js/curves/NURBSUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NURBSUtils: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author renej * NURBS utils diff --git a/examples/js/effects/AnaglyphEffect.js b/examples/js/effects/AnaglyphEffect.js index f7a138a41b83ae..89b7c728acbb35 100644 --- a/examples/js/effects/AnaglyphEffect.js +++ b/examples/js/effects/AnaglyphEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AnaglyphEffect: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author marklundin / http://mark-lundin.com/ diff --git a/examples/js/effects/AsciiEffect.js b/examples/js/effects/AsciiEffect.js index bc878471f65de6..b51d41d8dd8f2d 100644 --- a/examples/js/effects/AsciiEffect.js +++ b/examples/js/effects/AsciiEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AsciiEffect: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / https://github.com/zz85 * diff --git a/examples/js/effects/OutlineEffect.js b/examples/js/effects/OutlineEffect.js index 1a4e80b9137056..9fd1e3930feb32 100644 --- a/examples/js/effects/OutlineEffect.js +++ b/examples/js/effects/OutlineEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OutlineEffect: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author takahirox / http://github.com/takahirox/ * diff --git a/examples/js/effects/ParallaxBarrierEffect.js b/examples/js/effects/ParallaxBarrierEffect.js index 4bdfc7d887f9d3..e7ad2f76a2548e 100644 --- a/examples/js/effects/ParallaxBarrierEffect.js +++ b/examples/js/effects/ParallaxBarrierEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ParallaxBarrierEffect: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author marklundin / http://mark-lundin.com/ diff --git a/examples/js/effects/PeppersGhostEffect.js b/examples/js/effects/PeppersGhostEffect.js index 70132182d60589..772ab044c47d7f 100644 --- a/examples/js/effects/PeppersGhostEffect.js +++ b/examples/js/effects/PeppersGhostEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PeppersGhostEffect: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Created by tpowellmeto on 29/10/2015. * diff --git a/examples/js/effects/StereoEffect.js b/examples/js/effects/StereoEffect.js index 437fead806a785..09eeb09d1d6d91 100644 --- a/examples/js/effects/StereoEffect.js +++ b/examples/js/effects/StereoEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.StereoEffect: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * @authod mrdoob / http://mrdoob.com/ diff --git a/examples/js/exporters/ColladaExporter.js b/examples/js/exporters/ColladaExporter.js index ec7b610a3d9a1c..20f67b87e297fa 100644 --- a/examples/js/exporters/ColladaExporter.js +++ b/examples/js/exporters/ColladaExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColladaExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Garrett Johnson / http://gkjohnson.github.io/ * https://github.com/gkjohnson/collada-exporter-js diff --git a/examples/js/exporters/DRACOExporter.js b/examples/js/exporters/DRACOExporter.js index b4dfdfdebc901a..f880ee19c19b32 100644 --- a/examples/js/exporters/DRACOExporter.js +++ b/examples/js/exporters/DRACOExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DRACOExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Export draco compressed files from threejs geometry objects. * diff --git a/examples/js/exporters/GLTFExporter.js b/examples/js/exporters/GLTFExporter.js index 9d51ce20771e17..f31bbf0050794f 100644 --- a/examples/js/exporters/GLTFExporter.js +++ b/examples/js/exporters/GLTFExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GLTFExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author fernandojsg / http://fernandojsg.com * @author Don McCurdy / https://www.donmccurdy.com diff --git a/examples/js/exporters/MMDExporter.js b/examples/js/exporters/MMDExporter.js index dfb4bf889407c3..d29f81a56d5027 100644 --- a/examples/js/exporters/MMDExporter.js +++ b/examples/js/exporters/MMDExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author takahiro / http://github.com/takahirox * diff --git a/examples/js/exporters/OBJExporter.js b/examples/js/exporters/OBJExporter.js index 28f2dc2ab6694c..2a8a7d09f9a317 100644 --- a/examples/js/exporters/OBJExporter.js +++ b/examples/js/exporters/OBJExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OBJExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/exporters/PLYExporter.js b/examples/js/exporters/PLYExporter.js index 60c44a449cd489..9cfa5a1361101f 100644 --- a/examples/js/exporters/PLYExporter.js +++ b/examples/js/exporters/PLYExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PLYExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Garrett Johnson / http://gkjohnson.github.io/ * https://github.com/gkjohnson/ply-exporter-js diff --git a/examples/js/exporters/STLExporter.js b/examples/js/exporters/STLExporter.js index 5c1ddc1adabbd5..cf829ff08fde24 100644 --- a/examples/js/exporters/STLExporter.js +++ b/examples/js/exporters/STLExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.STLExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author kovacsv / http://kovacsv.hu/ * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/exporters/TypedGeometryExporter.js b/examples/js/exporters/TypedGeometryExporter.js index dfaf587e570e4b..e6f46f28f63812 100644 --- a/examples/js/exporters/TypedGeometryExporter.js +++ b/examples/js/exporters/TypedGeometryExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TypedGeometryExporter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/geometries/BoxLineGeometry.js b/examples/js/geometries/BoxLineGeometry.js index d08c2430913efb..9f2b29970fd09e 100644 --- a/examples/js/geometries/BoxLineGeometry.js +++ b/examples/js/geometries/BoxLineGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BoxLineGeometry: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/geometries/ConvexGeometry.js b/examples/js/geometries/ConvexGeometry.js index 6cbeb60fd2aa00..9bb71e90e3f8dc 100644 --- a/examples/js/geometries/ConvexGeometry.js +++ b/examples/js/geometries/ConvexGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvexGeometry: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 */ diff --git a/examples/js/geometries/DecalGeometry.js b/examples/js/geometries/DecalGeometry.js index 8f4ee5d76579fb..eed319a621de82 100644 --- a/examples/js/geometries/DecalGeometry.js +++ b/examples/js/geometries/DecalGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DecalGeometry: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * @author spite / https://github.com/spite diff --git a/examples/js/geometries/LightningStrike.js b/examples/js/geometries/LightningStrike.js index 2d9939e6d27654..5f7219a1eb2461 100644 --- a/examples/js/geometries/LightningStrike.js +++ b/examples/js/geometries/LightningStrike.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LightningStrike: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author yomboprime https://github.com/yomboprime * diff --git a/examples/js/geometries/ParametricGeometries.js b/examples/js/geometries/ParametricGeometries.js index 33ce0dda4c0cc3..6a4645083444ff 100644 --- a/examples/js/geometries/ParametricGeometries.js +++ b/examples/js/geometries/ParametricGeometries.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ParametricGeometries: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 * diff --git a/examples/js/geometries/TeapotBufferGeometry.js b/examples/js/geometries/TeapotBufferGeometry.js index 7f51f69e4a6986..ca06910b4c96ff 100644 --- a/examples/js/geometries/TeapotBufferGeometry.js +++ b/examples/js/geometries/TeapotBufferGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TeapotBufferGeometry: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Eric Haines / http://erichaines.com/ * diff --git a/examples/js/interactive/SelectionBox.js b/examples/js/interactive/SelectionBox.js index e5a9a54defd6a5..4a50166c5b51b0 100644 --- a/examples/js/interactive/SelectionBox.js +++ b/examples/js/interactive/SelectionBox.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SelectionBox: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author HypnosNova / https://www.threejs.org.cn/gallery * This is a class to check whether objects are in a selection area in 3D space diff --git a/examples/js/interactive/SelectionHelper.js b/examples/js/interactive/SelectionHelper.js index 2a0dbe60dd068e..fc44cb4ff07c8e 100644 --- a/examples/js/interactive/SelectionHelper.js +++ b/examples/js/interactive/SelectionHelper.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SelectionHelper: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author HypnosNova / https://www.threejs.org.cn/gallery */ diff --git a/examples/js/lights/LightProbeGenerator.js b/examples/js/lights/LightProbeGenerator.js index 8601a29bec6341..d5b4ae243a2155 100644 --- a/examples/js/lights/LightProbeGenerator.js +++ b/examples/js/lights/LightProbeGenerator.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LightProbeGenerator: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley */ diff --git a/examples/js/lights/RectAreaLightUniformsLib.js b/examples/js/lights/RectAreaLightUniformsLib.js index d29f48e3a600f4..9fcb24970bb833 100644 --- a/examples/js/lights/RectAreaLightUniformsLib.js +++ b/examples/js/lights/RectAreaLightUniformsLib.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RectAreaLightUniformsLib: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Uniforms library for RectAreaLight shared webgl shaders * @author abelnation diff --git a/examples/js/lines/Line2.js b/examples/js/lines/Line2.js index 28e0445264af82..30d34d352355ae 100644 --- a/examples/js/lines/Line2.js +++ b/examples/js/lines/Line2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Line2: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/lines/LineGeometry.js b/examples/js/lines/LineGeometry.js index 77f2cfb0a5b91a..838c87cfe6cc9e 100644 --- a/examples/js/lines/LineGeometry.js +++ b/examples/js/lines/LineGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineGeometry: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/lines/LineMaterial.js b/examples/js/lines/LineMaterial.js index add875a09c54b9..d62489583e9415 100644 --- a/examples/js/lines/LineMaterial.js +++ b/examples/js/lines/LineMaterial.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineMaterial: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/lines/LineSegments2.js b/examples/js/lines/LineSegments2.js index 47a0407a9eb9e7..056d5936a34488 100644 --- a/examples/js/lines/LineSegments2.js +++ b/examples/js/lines/LineSegments2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineSegments2: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/lines/LineSegmentsGeometry.js b/examples/js/lines/LineSegmentsGeometry.js index 122fdb3a704f31..758530ed09ff0a 100644 --- a/examples/js/lines/LineSegmentsGeometry.js +++ b/examples/js/lines/LineSegmentsGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineSegmentsGeometry: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/lines/Wireframe.js b/examples/js/lines/Wireframe.js index 9661f1d89dd85c..779438435892de 100644 --- a/examples/js/lines/Wireframe.js +++ b/examples/js/lines/Wireframe.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Wireframe: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/lines/WireframeGeometry2.js b/examples/js/lines/WireframeGeometry2.js index cafbb6c665c8ac..a37b368b784ac0 100644 --- a/examples/js/lines/WireframeGeometry2.js +++ b/examples/js/lines/WireframeGeometry2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.WireframeGeometry2: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/loaders/3MFLoader.js b/examples/js/loaders/3MFLoader.js index d46efc8beacf2f..c9f1a3745ca0de 100644 --- a/examples/js/loaders/3MFLoader.js +++ b/examples/js/loaders/3MFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.3MFLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author technohippy / https://github.com/technohippy * @author Mugen87 / https://github.com/Mugen87 diff --git a/examples/js/loaders/AMFLoader.js b/examples/js/loaders/AMFLoader.js index 49bde2fe8e7d0c..53edd4ddff4452 100644 --- a/examples/js/loaders/AMFLoader.js +++ b/examples/js/loaders/AMFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AMFLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author tamarintech / https://tamarintech.com * diff --git a/examples/js/loaders/AssimpLoader.js b/examples/js/loaders/AssimpLoader.js index f131725230d935..a53490ce693815 100644 --- a/examples/js/loaders/AssimpLoader.js +++ b/examples/js/loaders/AssimpLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AssimpLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Virtulous / https://virtulo.us/ */ diff --git a/examples/js/loaders/BVHLoader.js b/examples/js/loaders/BVHLoader.js index cc803c5362161a..bf2801f9b3f658 100644 --- a/examples/js/loaders/BVHLoader.js +++ b/examples/js/loaders/BVHLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BVHLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author herzig / http://github.com/herzig * @author Mugen87 / https://github.com/Mugen87 diff --git a/examples/js/loaders/BasisTextureLoader.js b/examples/js/loaders/BasisTextureLoader.js index 41f59f610b37ba..ea81764b8efb94 100644 --- a/examples/js/loaders/BasisTextureLoader.js +++ b/examples/js/loaders/BasisTextureLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BasisTextureLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Don McCurdy / https://www.donmccurdy.com * @author Austin Eng / https://github.com/austinEng diff --git a/examples/js/loaders/ColladaLoader.js b/examples/js/loaders/ColladaLoader.js index 44d9cdf7415c23..355badf4661094 100644 --- a/examples/js/loaders/ColladaLoader.js +++ b/examples/js/loaders/ColladaLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColladaLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author Mugen87 / https://github.com/Mugen87 diff --git a/examples/js/loaders/DDSLoader.js b/examples/js/loaders/DDSLoader.js index 00f55527539b3f..672957ab91c0a7 100644 --- a/examples/js/loaders/DDSLoader.js +++ b/examples/js/loaders/DDSLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DDSLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/loaders/DRACOLoader.js b/examples/js/loaders/DRACOLoader.js index 7398ca9f2e878b..100f6cf2aafe86 100644 --- a/examples/js/loaders/DRACOLoader.js +++ b/examples/js/loaders/DRACOLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DRACOLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Don McCurdy / https://www.donmccurdy.com */ diff --git a/examples/js/loaders/EXRLoader.js b/examples/js/loaders/EXRLoader.js index 10adffe87390a0..dc1a21f7d51155 100644 --- a/examples/js/loaders/EXRLoader.js +++ b/examples/js/loaders/EXRLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.EXRLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Richard M. / https://github.com/richardmonette * @author ScieCode / http://github.com/sciecode diff --git a/examples/js/loaders/FBXLoader.js b/examples/js/loaders/FBXLoader.js index c2339db037a6fe..d88b56530e2969 100644 --- a/examples/js/loaders/FBXLoader.js +++ b/examples/js/loaders/FBXLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FBXLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Kyle-Larson https://github.com/Kyle-Larson * @author Takahiro https://github.com/takahirox diff --git a/examples/js/loaders/GCodeLoader.js b/examples/js/loaders/GCodeLoader.js index ce7868a1947214..3c9cb57f8b96ac 100644 --- a/examples/js/loaders/GCodeLoader.js +++ b/examples/js/loaders/GCodeLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GCodeLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * THREE.GCodeLoader is used to load gcode files usually used for 3D printing or CNC applications. * diff --git a/examples/js/loaders/GLTFLoader.js b/examples/js/loaders/GLTFLoader.js index bbf3c774dcdc8b..fa2ecbadc47b38 100644 --- a/examples/js/loaders/GLTFLoader.js +++ b/examples/js/loaders/GLTFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GLTFLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Rich Tibbett / https://github.com/richtr * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/loaders/HDRCubeTextureLoader.js b/examples/js/loaders/HDRCubeTextureLoader.js index 1318c68865a6f5..8e659cfb91f8ea 100644 --- a/examples/js/loaders/HDRCubeTextureLoader.js +++ b/examples/js/loaders/HDRCubeTextureLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HDRCubeTextureLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Prashant Sharma / spidersharma03 * @author Ben Houston / http://clara.io / bhouston diff --git a/examples/js/loaders/KMZLoader.js b/examples/js/loaders/KMZLoader.js index da91eacc783dd2..0d8c77185349a2 100644 --- a/examples/js/loaders/KMZLoader.js +++ b/examples/js/loaders/KMZLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.KMZLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/loaders/KTXLoader.js b/examples/js/loaders/KTXLoader.js index d96d4af3871f43..7026151c233050 100644 --- a/examples/js/loaders/KTXLoader.js +++ b/examples/js/loaders/KTXLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.KTXLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author amakaseev / https://github.com/amakaseev * diff --git a/examples/js/loaders/LDrawLoader.js b/examples/js/loaders/LDrawLoader.js index b1f65e8692343c..a4725ae0beda5d 100644 --- a/examples/js/loaders/LDrawLoader.js +++ b/examples/js/loaders/LDrawLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LDrawLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author yomboprime / https://github.com/yomboprime/ diff --git a/examples/js/loaders/LWOLoader.js b/examples/js/loaders/LWOLoader.js index 6bd03801f5c009..2f93887ff06951 100644 --- a/examples/js/loaders/LWOLoader.js +++ b/examples/js/loaders/LWOLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LWOLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @version 1.1.1 * diff --git a/examples/js/loaders/MD2Loader.js b/examples/js/loaders/MD2Loader.js index 4f427aa495947d..6c81b0c8c63c57 100644 --- a/examples/js/loaders/MD2Loader.js +++ b/examples/js/loaders/MD2Loader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MD2Loader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/loaders/MMDLoader.js b/examples/js/loaders/MMDLoader.js index c54542d1c7c408..0dc0d2e2d3e34f 100644 --- a/examples/js/loaders/MMDLoader.js +++ b/examples/js/loaders/MMDLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author takahiro / https://github.com/takahirox * diff --git a/examples/js/loaders/MTLLoader.js b/examples/js/loaders/MTLLoader.js index 8b57f29b0d1c9f..d5439ef7497b64 100644 --- a/examples/js/loaders/MTLLoader.js +++ b/examples/js/loaders/MTLLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MTLLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Loads a Wavefront .mtl file specifying materials * diff --git a/examples/js/loaders/NRRDLoader.js b/examples/js/loaders/NRRDLoader.js index 28edafc8f0a6f4..1b2b4c66d45a7d 100644 --- a/examples/js/loaders/NRRDLoader.js +++ b/examples/js/loaders/NRRDLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NRRDLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /* * three.js NRRD file loader */ diff --git a/examples/js/loaders/OBJLoader.js b/examples/js/loaders/OBJLoader.js index be9abbf2405dc1..b214bec67f06f9 100644 --- a/examples/js/loaders/OBJLoader.js +++ b/examples/js/loaders/OBJLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OBJLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/loaders/PCDLoader.js b/examples/js/loaders/PCDLoader.js index 48a4b5e76f78b4..57a6ca9ee3151c 100644 --- a/examples/js/loaders/PCDLoader.js +++ b/examples/js/loaders/PCDLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PCDLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Filipe Caixeta / http://filipecaixeta.com.br * @author Mugen87 / https://github.com/Mugen87 diff --git a/examples/js/loaders/PDBLoader.js b/examples/js/loaders/PDBLoader.js index 62207596d9a20c..09efc0f6f01d49 100644 --- a/examples/js/loaders/PDBLoader.js +++ b/examples/js/loaders/PDBLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PDBLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * @author Mugen87 / https://github.com/Mugen87 diff --git a/examples/js/loaders/PLYLoader.js b/examples/js/loaders/PLYLoader.js index 905e17214fb449..951d10aa90ece3 100644 --- a/examples/js/loaders/PLYLoader.js +++ b/examples/js/loaders/PLYLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PLYLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Wei Meng / http://about.me/menway * diff --git a/examples/js/loaders/PRWMLoader.js b/examples/js/loaders/PRWMLoader.js index d99092cc019cc0..dc01213c25a758 100644 --- a/examples/js/loaders/PRWMLoader.js +++ b/examples/js/loaders/PRWMLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PRWMLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Kevin Chapelier / https://github.com/kchapelier * See https://github.com/kchapelier/PRWM for more informations about this file format diff --git a/examples/js/loaders/PVRLoader.js b/examples/js/loaders/PVRLoader.js index a5b89ad0caa069..1c24d3fc08f665 100644 --- a/examples/js/loaders/PVRLoader.js +++ b/examples/js/loaders/PVRLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PVRLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /* * PVRLoader * Author: pierre lepers diff --git a/examples/js/loaders/RGBELoader.js b/examples/js/loaders/RGBELoader.js index c74e4b7632f411..a43b712ac256ff 100644 --- a/examples/js/loaders/RGBELoader.js +++ b/examples/js/loaders/RGBELoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RGBELoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Nikos M. / https://github.com/foo123/ */ diff --git a/examples/js/loaders/STLLoader.js b/examples/js/loaders/STLLoader.js index 9008bd1362c6cb..ac5555ec12671e 100644 --- a/examples/js/loaders/STLLoader.js +++ b/examples/js/loaders/STLLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.STLLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author aleeper / http://adamleeper.com/ * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/loaders/SVGLoader.js b/examples/js/loaders/SVGLoader.js index 4caea9c63a1c0e..4f91fc1d4b1c67 100644 --- a/examples/js/loaders/SVGLoader.js +++ b/examples/js/loaders/SVGLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SVGLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author zz85 / http://joshuakoo.com/ diff --git a/examples/js/loaders/TDSLoader.js b/examples/js/loaders/TDSLoader.js index 26fcdd88b632d6..3ea2f08f7c6c4f 100644 --- a/examples/js/loaders/TDSLoader.js +++ b/examples/js/loaders/TDSLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TDSLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Autodesk 3DS three.js file loader, based on lib3ds. * diff --git a/examples/js/loaders/TGALoader.js b/examples/js/loaders/TGALoader.js index 368d9723edb120..132e1c6dd08553 100644 --- a/examples/js/loaders/TGALoader.js +++ b/examples/js/loaders/TGALoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TGALoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Daosheng Mu / https://github.com/DaoshengMu/ * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/loaders/TTFLoader.js b/examples/js/loaders/TTFLoader.js index b7842e2af88910..068a27f3446f30 100644 --- a/examples/js/loaders/TTFLoader.js +++ b/examples/js/loaders/TTFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TTFLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author gero3 / https://github.com/gero3 * @author tentone / https://github.com/tentone diff --git a/examples/js/loaders/VRMLLoader.js b/examples/js/loaders/VRMLLoader.js index 50198441943841..3a73aada8f027a 100644 --- a/examples/js/loaders/VRMLLoader.js +++ b/examples/js/loaders/VRMLLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VRMLLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 */ diff --git a/examples/js/loaders/VRMLoader.js b/examples/js/loaders/VRMLoader.js index 791cfb68a7a1ad..dfca322ed04c2e 100644 --- a/examples/js/loaders/VRMLoader.js +++ b/examples/js/loaders/VRMLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VRMLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Takahiro / https://github.com/takahirox */ diff --git a/examples/js/loaders/VTKLoader.js b/examples/js/loaders/VTKLoader.js index 8757dd711f43cd..5ab4c1c33409a9 100644 --- a/examples/js/loaders/VTKLoader.js +++ b/examples/js/loaders/VTKLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VTKLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author Alex Pletzer diff --git a/examples/js/loaders/XLoader.js b/examples/js/loaders/XLoader.js index 4def9b25d813a6..11e21a01cd72d9 100644 --- a/examples/js/loaders/XLoader.js +++ b/examples/js/loaders/XLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.XLoader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author adrs2002 / https://github.com/adrs2002 */ diff --git a/examples/js/math/ColorConverter.js b/examples/js/math/ColorConverter.js index 69457ed3f6a155..94d319cfca8649 100644 --- a/examples/js/math/ColorConverter.js +++ b/examples/js/math/ColorConverter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColorConverter: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author bhouston / http://exocortex.com/ * @author zz85 / http://github.com/zz85 diff --git a/examples/js/math/ConvexHull.js b/examples/js/math/ConvexHull.js index 63ad964a9bd726..1b9083173f6af4 100644 --- a/examples/js/math/ConvexHull.js +++ b/examples/js/math/ConvexHull.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvexHull: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * diff --git a/examples/js/math/ImprovedNoise.js b/examples/js/math/ImprovedNoise.js index 607474a6a2397b..90b324f84a7a97 100644 --- a/examples/js/math/ImprovedNoise.js +++ b/examples/js/math/ImprovedNoise.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ImprovedNoise: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); // http://mrl.nyu.edu/~perlin/noise/ THREE.ImprovedNoise = function () { diff --git a/examples/js/math/Lut.js b/examples/js/math/Lut.js index 29b1241e2672a2..fe237ccebd127e 100644 --- a/examples/js/math/Lut.js +++ b/examples/js/math/Lut.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Lut: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author daron1337 / http://daron1337.github.io/ */ diff --git a/examples/js/math/SimplexNoise.js b/examples/js/math/SimplexNoise.js index 543df07ee1e897..6510fa4444f7e6 100644 --- a/examples/js/math/SimplexNoise.js +++ b/examples/js/math/SimplexNoise.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SimplexNoise: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); // Ported from Stefan Gustavson's java implementation // http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf // Read Stefan's excellent paper for details on how this code works. diff --git a/examples/js/misc/ConvexObjectBreaker.js b/examples/js/misc/ConvexObjectBreaker.js index 4996dbb9c6616f..8e925b0c072545 100644 --- a/examples/js/misc/ConvexObjectBreaker.js +++ b/examples/js/misc/ConvexObjectBreaker.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvexObjectBreaker: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author yomboprime https://github.com/yomboprime * diff --git a/examples/js/misc/GPUComputationRenderer.js b/examples/js/misc/GPUComputationRenderer.js index 0fc9c49779ae0d..003f0723d067e6 100644 --- a/examples/js/misc/GPUComputationRenderer.js +++ b/examples/js/misc/GPUComputationRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GPUComputationRenderer: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author yomboprime https://github.com/yomboprime * diff --git a/examples/js/misc/Gyroscope.js b/examples/js/misc/Gyroscope.js index a235a51ca82f10..d8e4543435e9f1 100644 --- a/examples/js/misc/Gyroscope.js +++ b/examples/js/misc/Gyroscope.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Gyroscope: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/misc/MD2Character.js b/examples/js/misc/MD2Character.js index 14819e04ff7b7c..a74b6eb931a98c 100644 --- a/examples/js/misc/MD2Character.js +++ b/examples/js/misc/MD2Character.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MD2Character: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/misc/MD2CharacterComplex.js b/examples/js/misc/MD2CharacterComplex.js index 3d09900372c78c..62f7d579162a07 100644 --- a/examples/js/misc/MD2CharacterComplex.js +++ b/examples/js/misc/MD2CharacterComplex.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MD2CharacterComplex: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/misc/MorphAnimMesh.js b/examples/js/misc/MorphAnimMesh.js index 9fe261a0b656dc..43f7b885aa333b 100644 --- a/examples/js/misc/MorphAnimMesh.js +++ b/examples/js/misc/MorphAnimMesh.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MorphAnimMesh: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/misc/MorphBlendMesh.js b/examples/js/misc/MorphBlendMesh.js index 0b2445223270ba..0dad8b79c26d16 100644 --- a/examples/js/misc/MorphBlendMesh.js +++ b/examples/js/misc/MorphBlendMesh.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MorphBlendMesh: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/misc/Ocean.js b/examples/js/misc/Ocean.js index e91bab84da6310..23a2a12f3c4b9e 100644 --- a/examples/js/misc/Ocean.js +++ b/examples/js/misc/Ocean.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Ocean: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /* three.js Ocean */ diff --git a/examples/js/misc/RollerCoaster.js b/examples/js/misc/RollerCoaster.js index d774ee3a0910b6..0d869c64bafb9d 100644 --- a/examples/js/misc/RollerCoaster.js +++ b/examples/js/misc/RollerCoaster.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RollerCoaster: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/misc/Volume.js b/examples/js/misc/Volume.js index d404b6ec3d5a1c..0b457c56f2bf92 100644 --- a/examples/js/misc/Volume.js +++ b/examples/js/misc/Volume.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Volume: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * This class had been written to handle the output of the NRRD loader. * It contains a volume of data and informations about it. diff --git a/examples/js/misc/VolumeSlice.js b/examples/js/misc/VolumeSlice.js index 907fc7ad9b850f..fe7da0f05ed933 100644 --- a/examples/js/misc/VolumeSlice.js +++ b/examples/js/misc/VolumeSlice.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VolumeSlice: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * This class has been made to hold a slice of a volume data * @class diff --git a/examples/js/modifiers/ExplodeModifier.js b/examples/js/modifiers/ExplodeModifier.js index f83d4968bf9026..c0144934e12b85 100644 --- a/examples/js/modifiers/ExplodeModifier.js +++ b/examples/js/modifiers/ExplodeModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ExplodeModifier: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Make all faces use unique vertices * so that each face can be separated from others diff --git a/examples/js/modifiers/SimplifyModifier.js b/examples/js/modifiers/SimplifyModifier.js index 61abfa79c2ad2b..71d311946dd68c 100644 --- a/examples/js/modifiers/SimplifyModifier.js +++ b/examples/js/modifiers/SimplifyModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SimplifyModifier: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / http://twitter.com/blurspline / http://www.lab4games.net/zz85/blog * diff --git a/examples/js/modifiers/SubdivisionModifier.js b/examples/js/modifiers/SubdivisionModifier.js index df3592c13f81c7..c9e3cc6a07345f 100644 --- a/examples/js/modifiers/SubdivisionModifier.js +++ b/examples/js/modifiers/SubdivisionModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SubdivisionModifier: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / http://twitter.com/blurspline / http://www.lab4games.net/zz85/blog * @author centerionware / http://www.centerionware.com diff --git a/examples/js/modifiers/TessellateModifier.js b/examples/js/modifiers/TessellateModifier.js index fbcd6e38b1668f..5b8b745716f269 100644 --- a/examples/js/modifiers/TessellateModifier.js +++ b/examples/js/modifiers/TessellateModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TessellateModifier: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Break faces with edges longer than maxEdgeLength * - not recursive diff --git a/examples/js/objects/Fire.js b/examples/js/objects/Fire.js index 8e5e0c2c51a929..a3f364e9897237 100644 --- a/examples/js/objects/Fire.js +++ b/examples/js/objects/Fire.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Fire: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mike Piecuch / https://github.com/mikepiecuch * diff --git a/examples/js/objects/Lensflare.js b/examples/js/objects/Lensflare.js index b86d0c2850f011..f9b6489197fd54 100644 --- a/examples/js/objects/Lensflare.js +++ b/examples/js/objects/Lensflare.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Lensflare: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/objects/LightningStorm.js b/examples/js/objects/LightningStorm.js index 9339e57cdfb847..71360e001c3685 100644 --- a/examples/js/objects/LightningStorm.js +++ b/examples/js/objects/LightningStorm.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LightningStorm: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author yomboprime https://github.com/yomboprime * diff --git a/examples/js/objects/MarchingCubes.js b/examples/js/objects/MarchingCubes.js index bc8a4a2d0f068d..4036e23e371fbd 100644 --- a/examples/js/objects/MarchingCubes.js +++ b/examples/js/objects/MarchingCubes.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MarchingCubes: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com diff --git a/examples/js/objects/Reflector.js b/examples/js/objects/Reflector.js index ba593e347295b8..3aaed77fcc4125 100644 --- a/examples/js/objects/Reflector.js +++ b/examples/js/objects/Reflector.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Reflector: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Slayvin / http://slayvin.net */ diff --git a/examples/js/objects/ReflectorRTT.js b/examples/js/objects/ReflectorRTT.js index c29e770999db65..16eae9b5ca2241 100644 --- a/examples/js/objects/ReflectorRTT.js +++ b/examples/js/objects/ReflectorRTT.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ReflectorRTT: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * RTT version */ diff --git a/examples/js/objects/Refractor.js b/examples/js/objects/Refractor.js index 32ac0941bd68a6..dfb559313e7eb6 100644 --- a/examples/js/objects/Refractor.js +++ b/examples/js/objects/Refractor.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Refractor: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * diff --git a/examples/js/objects/ShadowMesh.js b/examples/js/objects/ShadowMesh.js index 7fb035312efcc1..30d4e1e49174e9 100644 --- a/examples/js/objects/ShadowMesh.js +++ b/examples/js/objects/ShadowMesh.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ShadowMesh: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author erichlof / http://github.com/erichlof * diff --git a/examples/js/objects/Sky.js b/examples/js/objects/Sky.js index a8df657c1221a1..b9cb09858cf34b 100644 --- a/examples/js/objects/Sky.js +++ b/examples/js/objects/Sky.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Sky: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / https://github.com/zz85 * diff --git a/examples/js/objects/Water.js b/examples/js/objects/Water.js index 336110d647e1f2..4dd664dc87ea65 100644 --- a/examples/js/objects/Water.js +++ b/examples/js/objects/Water.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Water: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author jbouny / https://github.com/jbouny * diff --git a/examples/js/objects/Water2.js b/examples/js/objects/Water2.js index 09790cc166954b..cc2ed7463ab6e2 100644 --- a/examples/js/objects/Water2.js +++ b/examples/js/objects/Water2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Water2: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * diff --git a/examples/js/postprocessing/AdaptiveToneMappingPass.js b/examples/js/postprocessing/AdaptiveToneMappingPass.js index 3ebd161978d20c..fe6c21eedef618 100644 --- a/examples/js/postprocessing/AdaptiveToneMappingPass.js +++ b/examples/js/postprocessing/AdaptiveToneMappingPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AdaptiveToneMappingPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author miibond * Generate a texture that represents the luminosity of the current scene, adapted over time diff --git a/examples/js/postprocessing/AfterimagePass.js b/examples/js/postprocessing/AfterimagePass.js index 45af7f042ed8e1..d48d0ab2b5970d 100644 --- a/examples/js/postprocessing/AfterimagePass.js +++ b/examples/js/postprocessing/AfterimagePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AfterimagePass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author HypnosNova / https://www.threejs.org.cn/gallery/ */ diff --git a/examples/js/postprocessing/BloomPass.js b/examples/js/postprocessing/BloomPass.js index bc3e5cf3e5714f..459caae067ea0b 100644 --- a/examples/js/postprocessing/BloomPass.js +++ b/examples/js/postprocessing/BloomPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BloomPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/BokehPass.js b/examples/js/postprocessing/BokehPass.js index 7702afe1e5b779..08eb9e3b79d074 100644 --- a/examples/js/postprocessing/BokehPass.js +++ b/examples/js/postprocessing/BokehPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BokehPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Depth-of-field post-process with bokeh shader */ diff --git a/examples/js/postprocessing/ClearPass.js b/examples/js/postprocessing/ClearPass.js index 2fc1b6c006cff3..77182af4f56d6b 100644 --- a/examples/js/postprocessing/ClearPass.js +++ b/examples/js/postprocessing/ClearPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ClearPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/postprocessing/CubeTexturePass.js b/examples/js/postprocessing/CubeTexturePass.js index 628cf9b7dd6cf7..d13a325b27a5c1 100644 --- a/examples/js/postprocessing/CubeTexturePass.js +++ b/examples/js/postprocessing/CubeTexturePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CubeTexturePass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author bhouston / http://clara.io/ */ diff --git a/examples/js/postprocessing/DotScreenPass.js b/examples/js/postprocessing/DotScreenPass.js index 42cb81d2655c80..bd743202b4ea29 100644 --- a/examples/js/postprocessing/DotScreenPass.js +++ b/examples/js/postprocessing/DotScreenPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DotScreenPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/EffectComposer.js b/examples/js/postprocessing/EffectComposer.js index 7bd74d98688f1e..e2435241762eff 100644 --- a/examples/js/postprocessing/EffectComposer.js +++ b/examples/js/postprocessing/EffectComposer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.EffectComposer: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/FilmPass.js b/examples/js/postprocessing/FilmPass.js index bbdd08ee0f7987..83bc0cd247fff6 100644 --- a/examples/js/postprocessing/FilmPass.js +++ b/examples/js/postprocessing/FilmPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FilmPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/GlitchPass.js b/examples/js/postprocessing/GlitchPass.js index c5770582fe2b11..e956a05dca93e8 100644 --- a/examples/js/postprocessing/GlitchPass.js +++ b/examples/js/postprocessing/GlitchPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GlitchPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/HalftonePass.js b/examples/js/postprocessing/HalftonePass.js index c9a7b0357c9f63..4b1b3ab06222a4 100644 --- a/examples/js/postprocessing/HalftonePass.js +++ b/examples/js/postprocessing/HalftonePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HalftonePass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author meatbags / xavierburrow.com, github/meatbags * diff --git a/examples/js/postprocessing/MaskPass.js b/examples/js/postprocessing/MaskPass.js index 151634d263ba6f..345533a402fae5 100644 --- a/examples/js/postprocessing/MaskPass.js +++ b/examples/js/postprocessing/MaskPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MaskPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/OutlinePass.js b/examples/js/postprocessing/OutlinePass.js index 31d95760c7a316..1b453701a91d38 100644 --- a/examples/js/postprocessing/OutlinePass.js +++ b/examples/js/postprocessing/OutlinePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OutlinePass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author spidersharma / http://eduperiment.com/ */ diff --git a/examples/js/postprocessing/RenderPass.js b/examples/js/postprocessing/RenderPass.js index e159aaecf5a7df..8270eb39f85d5a 100644 --- a/examples/js/postprocessing/RenderPass.js +++ b/examples/js/postprocessing/RenderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RenderPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/SAOPass.js b/examples/js/postprocessing/SAOPass.js index 8a9bb7028c1b2f..c44a088eb9f051 100644 --- a/examples/js/postprocessing/SAOPass.js +++ b/examples/js/postprocessing/SAOPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SAOPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author ludobaka / ludobaka.github.io * SAO implementation inspired from bhouston previous SAO work diff --git a/examples/js/postprocessing/SMAAPass.js b/examples/js/postprocessing/SMAAPass.js index 81a0f014bfdbb9..f0a01c34031595 100644 --- a/examples/js/postprocessing/SMAAPass.js +++ b/examples/js/postprocessing/SMAAPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SMAAPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mpk / http://polko.me/ */ diff --git a/examples/js/postprocessing/SSAARenderPass.js b/examples/js/postprocessing/SSAARenderPass.js index 76c1848ff5abda..a742a0db63a27c 100644 --- a/examples/js/postprocessing/SSAARenderPass.js +++ b/examples/js/postprocessing/SSAARenderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SSAARenderPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * * Supersample Anti-Aliasing Render Pass diff --git a/examples/js/postprocessing/SSAOPass.js b/examples/js/postprocessing/SSAOPass.js index 155f22df3d6a1e..b90895cc1ecbfd 100644 --- a/examples/js/postprocessing/SSAOPass.js +++ b/examples/js/postprocessing/SSAOPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SSAOPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 */ diff --git a/examples/js/postprocessing/SavePass.js b/examples/js/postprocessing/SavePass.js index 2eb319c71a97ad..93abbbbf045cb5 100644 --- a/examples/js/postprocessing/SavePass.js +++ b/examples/js/postprocessing/SavePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SavePass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/ShaderPass.js b/examples/js/postprocessing/ShaderPass.js index 9b8e47baff344d..335b421feb8972 100644 --- a/examples/js/postprocessing/ShaderPass.js +++ b/examples/js/postprocessing/ShaderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ShaderPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/TAARenderPass.js b/examples/js/postprocessing/TAARenderPass.js index 3368588ca61548..13d1eb2b558fed 100644 --- a/examples/js/postprocessing/TAARenderPass.js +++ b/examples/js/postprocessing/TAARenderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TAARenderPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * * Temporal Anti-Aliasing Render Pass diff --git a/examples/js/postprocessing/TexturePass.js b/examples/js/postprocessing/TexturePass.js index 0e2217a8d2b4d7..008059be6e6538 100644 --- a/examples/js/postprocessing/TexturePass.js +++ b/examples/js/postprocessing/TexturePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TexturePass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/postprocessing/UnrealBloomPass.js b/examples/js/postprocessing/UnrealBloomPass.js index 00e46fc859918b..8b5c49d73f8660 100644 --- a/examples/js/postprocessing/UnrealBloomPass.js +++ b/examples/js/postprocessing/UnrealBloomPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.UnrealBloomPass: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author spidersharma / http://eduperiment.com/ */ diff --git a/examples/js/renderers/CSS2DRenderer.js b/examples/js/renderers/CSS2DRenderer.js index 111861ac3b2761..d5978b57e8d816 100644 --- a/examples/js/renderers/CSS2DRenderer.js +++ b/examples/js/renderers/CSS2DRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CSS2DRenderer: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/renderers/CSS3DRenderer.js b/examples/js/renderers/CSS3DRenderer.js index 04059675131075..e6a42fe0c16993 100644 --- a/examples/js/renderers/CSS3DRenderer.js +++ b/examples/js/renderers/CSS3DRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CSS3DRenderer: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * Based on http://www.emagix.net/academic/mscs-project/item/camera-sync-with-css3-and-webgl-threejs * @author mrdoob / http://mrdoob.com/ diff --git a/examples/js/renderers/Projector.js b/examples/js/renderers/Projector.js index 802079c2890ac8..0a14b8dcb04f20 100644 --- a/examples/js/renderers/Projector.js +++ b/examples/js/renderers/Projector.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Projector: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author supereggbert / http://www.paulbrunt.co.uk/ diff --git a/examples/js/renderers/SVGRenderer.js b/examples/js/renderers/SVGRenderer.js index 6ff603857fe17e..2583349c451799 100644 --- a/examples/js/renderers/SVGRenderer.js +++ b/examples/js/renderers/SVGRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SVGRenderer: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/shaders/AfterimageShader.js b/examples/js/shaders/AfterimageShader.js index f62f872a1237b4..9f48c83da8f164 100644 --- a/examples/js/shaders/AfterimageShader.js +++ b/examples/js/shaders/AfterimageShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AfterimageShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author HypnosNova / https://www.threejs.org.cn/gallery/ * diff --git a/examples/js/shaders/BasicShader.js b/examples/js/shaders/BasicShader.js index 87684ec60e3f5c..37d3cef59f0ea5 100644 --- a/examples/js/shaders/BasicShader.js +++ b/examples/js/shaders/BasicShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BasicShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://www.mrdoob.com * diff --git a/examples/js/shaders/BleachBypassShader.js b/examples/js/shaders/BleachBypassShader.js index e73c0cf4e0a692..9d398c78de25f2 100644 --- a/examples/js/shaders/BleachBypassShader.js +++ b/examples/js/shaders/BleachBypassShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BleachBypassShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/BlendShader.js b/examples/js/shaders/BlendShader.js index 91dbbf3f74df00..ce5ee75f66d497 100644 --- a/examples/js/shaders/BlendShader.js +++ b/examples/js/shaders/BlendShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BlendShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/BokehShader.js b/examples/js/shaders/BokehShader.js index 92f6da25164d7f..dbbb1c102b8297 100644 --- a/examples/js/shaders/BokehShader.js +++ b/examples/js/shaders/BokehShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BokehShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/BokehShader2.js b/examples/js/shaders/BokehShader2.js index 53c971427e5d54..a6a296b2a15e98 100644 --- a/examples/js/shaders/BokehShader2.js +++ b/examples/js/shaders/BokehShader2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BokehShader2: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / https://github.com/zz85 | twitter.com/blurspline * diff --git a/examples/js/shaders/BrightnessContrastShader.js b/examples/js/shaders/BrightnessContrastShader.js index 8487c2d0586dcf..97564e54407573 100644 --- a/examples/js/shaders/BrightnessContrastShader.js +++ b/examples/js/shaders/BrightnessContrastShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BrightnessContrastShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author tapio / http://tapio.github.com/ * diff --git a/examples/js/shaders/ColorCorrectionShader.js b/examples/js/shaders/ColorCorrectionShader.js index 3972ef33dcec96..c47336186fbabc 100644 --- a/examples/js/shaders/ColorCorrectionShader.js +++ b/examples/js/shaders/ColorCorrectionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColorCorrectionShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/ColorifyShader.js b/examples/js/shaders/ColorifyShader.js index 16b10920331265..e2c57a76df292a 100644 --- a/examples/js/shaders/ColorifyShader.js +++ b/examples/js/shaders/ColorifyShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColorifyShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/ConvolutionShader.js b/examples/js/shaders/ConvolutionShader.js index 446609fa34ca02..f8e37ed226fd08 100644 --- a/examples/js/shaders/ConvolutionShader.js +++ b/examples/js/shaders/ConvolutionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvolutionShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/CopyShader.js b/examples/js/shaders/CopyShader.js index b118e73448431b..0e499cd9ce10c7 100644 --- a/examples/js/shaders/CopyShader.js +++ b/examples/js/shaders/CopyShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CopyShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/DOFMipMapShader.js b/examples/js/shaders/DOFMipMapShader.js index 61898237e5b974..e7e7f333626553 100644 --- a/examples/js/shaders/DOFMipMapShader.js +++ b/examples/js/shaders/DOFMipMapShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DOFMipMapShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/DepthLimitedBlurShader.js b/examples/js/shaders/DepthLimitedBlurShader.js index d63d23f570c248..f778878e147660 100644 --- a/examples/js/shaders/DepthLimitedBlurShader.js +++ b/examples/js/shaders/DepthLimitedBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DepthLimitedBlurShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * TODO */ diff --git a/examples/js/shaders/DigitalGlitch.js b/examples/js/shaders/DigitalGlitch.js index 7722ec219e3553..949ffca0f571b0 100644 --- a/examples/js/shaders/DigitalGlitch.js +++ b/examples/js/shaders/DigitalGlitch.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DigitalGlitch: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author felixturner / http://airtight.cc/ * diff --git a/examples/js/shaders/DotScreenShader.js b/examples/js/shaders/DotScreenShader.js index cbfdb4dd43ad5c..4f37a833b270e4 100644 --- a/examples/js/shaders/DotScreenShader.js +++ b/examples/js/shaders/DotScreenShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DotScreenShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/FXAAShader.js b/examples/js/shaders/FXAAShader.js index 731e2036463246..d4e48ba2c9e109 100644 --- a/examples/js/shaders/FXAAShader.js +++ b/examples/js/shaders/FXAAShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FXAAShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * @author davidedc / http://www.sketchpatch.net/ diff --git a/examples/js/shaders/FilmShader.js b/examples/js/shaders/FilmShader.js index 5bfc7bc0b4d5c6..5f9b594113ec82 100644 --- a/examples/js/shaders/FilmShader.js +++ b/examples/js/shaders/FilmShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FilmShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/FocusShader.js b/examples/js/shaders/FocusShader.js index ebb5261c047fdd..00f36520c44902 100644 --- a/examples/js/shaders/FocusShader.js +++ b/examples/js/shaders/FocusShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FocusShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/FreiChenShader.js b/examples/js/shaders/FreiChenShader.js index 094e962658372e..a90eaca6f31dba 100644 --- a/examples/js/shaders/FreiChenShader.js +++ b/examples/js/shaders/FreiChenShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FreiChenShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / https://github.com/zz85 | https://www.lab4games.net/zz85/blog * diff --git a/examples/js/shaders/FresnelShader.js b/examples/js/shaders/FresnelShader.js index ec5636aa39fd2b..a59dc5aac44567 100644 --- a/examples/js/shaders/FresnelShader.js +++ b/examples/js/shaders/FresnelShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FresnelShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/GammaCorrectionShader.js b/examples/js/shaders/GammaCorrectionShader.js index 6e878c6f4099bf..2c5e86e4521cda 100644 --- a/examples/js/shaders/GammaCorrectionShader.js +++ b/examples/js/shaders/GammaCorrectionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GammaCorrectionShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author WestLangley / http://github.com/WestLangley * diff --git a/examples/js/shaders/GodRaysShader.js b/examples/js/shaders/GodRaysShader.js index 95bb17805ef6e5..0177567e1cfd64 100644 --- a/examples/js/shaders/GodRaysShader.js +++ b/examples/js/shaders/GodRaysShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GodRaysShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author huwb / http://huwbowles.com/ * diff --git a/examples/js/shaders/HalftoneShader.js b/examples/js/shaders/HalftoneShader.js index 8b8a7b7d86817a..fa2eba13c00fee 100644 --- a/examples/js/shaders/HalftoneShader.js +++ b/examples/js/shaders/HalftoneShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HalftoneShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author meatbags / xavierburrow.com, github/meatbags * diff --git a/examples/js/shaders/HorizontalBlurShader.js b/examples/js/shaders/HorizontalBlurShader.js index 43cb4706efa9e0..a3eebfcdbc9619 100644 --- a/examples/js/shaders/HorizontalBlurShader.js +++ b/examples/js/shaders/HorizontalBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HorizontalBlurShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / http://www.lab4games.net/zz85/blog * diff --git a/examples/js/shaders/HorizontalTiltShiftShader.js b/examples/js/shaders/HorizontalTiltShiftShader.js index 471b0a743fa7a5..99a3eb4c92bf5b 100644 --- a/examples/js/shaders/HorizontalTiltShiftShader.js +++ b/examples/js/shaders/HorizontalTiltShiftShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HorizontalTiltShiftShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/HueSaturationShader.js b/examples/js/shaders/HueSaturationShader.js index 323eb7530617b8..7f96c28405775d 100644 --- a/examples/js/shaders/HueSaturationShader.js +++ b/examples/js/shaders/HueSaturationShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HueSaturationShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author tapio / http://tapio.github.com/ * diff --git a/examples/js/shaders/KaleidoShader.js b/examples/js/shaders/KaleidoShader.js index 36e908f3a24a93..6f155bb2d70b9b 100644 --- a/examples/js/shaders/KaleidoShader.js +++ b/examples/js/shaders/KaleidoShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.KaleidoShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author felixturner / http://airtight.cc/ * diff --git a/examples/js/shaders/LuminosityHighPassShader.js b/examples/js/shaders/LuminosityHighPassShader.js index 9ffa1386a4ddc2..f8bfd3990d3815 100644 --- a/examples/js/shaders/LuminosityHighPassShader.js +++ b/examples/js/shaders/LuminosityHighPassShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LuminosityHighPassShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author bhouston / http://clara.io/ * diff --git a/examples/js/shaders/LuminosityShader.js b/examples/js/shaders/LuminosityShader.js index da489b462377e0..26ff69ee784c7e 100644 --- a/examples/js/shaders/LuminosityShader.js +++ b/examples/js/shaders/LuminosityShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LuminosityShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/MirrorShader.js b/examples/js/shaders/MirrorShader.js index 5b0d686321b26b..9a1d894d97e21f 100644 --- a/examples/js/shaders/MirrorShader.js +++ b/examples/js/shaders/MirrorShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MirrorShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author felixturner / http://airtight.cc/ * diff --git a/examples/js/shaders/NormalMapShader.js b/examples/js/shaders/NormalMapShader.js index 87234c82bac519..7b318548ae0aca 100644 --- a/examples/js/shaders/NormalMapShader.js +++ b/examples/js/shaders/NormalMapShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NormalMapShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/OceanShaders.js b/examples/js/shaders/OceanShaders.js index 8ca7fef521e564..1b0e5d61fcc184 100644 --- a/examples/js/shaders/OceanShaders.js +++ b/examples/js/shaders/OceanShaders.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OceanShaders: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /* Author: Aleksandr Albert // Website: www.routter.co.tt diff --git a/examples/js/shaders/ParallaxShader.js b/examples/js/shaders/ParallaxShader.js index 396bbc6727f848..e2df226d5bb85c 100644 --- a/examples/js/shaders/ParallaxShader.js +++ b/examples/js/shaders/ParallaxShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ParallaxShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); // Parallax Occlusion shaders from // http://sunandblackcat.com/tipFullView.php?topicid=28 // No tangent-space transforms logic based on diff --git a/examples/js/shaders/PixelShader.js b/examples/js/shaders/PixelShader.js index 340cc7b5f99449..610c08a47a4dd3 100644 --- a/examples/js/shaders/PixelShader.js +++ b/examples/js/shaders/PixelShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PixelShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author wongbryan / http://wongbryan.github.io * diff --git a/examples/js/shaders/RGBShiftShader.js b/examples/js/shaders/RGBShiftShader.js index d53f9611b5b731..f819d1085c5ac2 100644 --- a/examples/js/shaders/RGBShiftShader.js +++ b/examples/js/shaders/RGBShiftShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RGBShiftShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author felixturner / http://airtight.cc/ * diff --git a/examples/js/shaders/SAOShader.js b/examples/js/shaders/SAOShader.js index d344f7b0c73d8b..5b756b075563bb 100644 --- a/examples/js/shaders/SAOShader.js +++ b/examples/js/shaders/SAOShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SAOShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * TODO */ diff --git a/examples/js/shaders/SMAAShader.js b/examples/js/shaders/SMAAShader.js index c9e0a26da0c5ee..34bbf25e5bbfec 100644 --- a/examples/js/shaders/SMAAShader.js +++ b/examples/js/shaders/SMAAShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SMAAShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mpk / http://polko.me/ * diff --git a/examples/js/shaders/SSAOShader.js b/examples/js/shaders/SSAOShader.js index 953e1c566d9bed..3a2573f74fae35 100644 --- a/examples/js/shaders/SSAOShader.js +++ b/examples/js/shaders/SSAOShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SSAOShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * diff --git a/examples/js/shaders/SepiaShader.js b/examples/js/shaders/SepiaShader.js index 6b10eb25897b11..a8fcbf519dc8e8 100644 --- a/examples/js/shaders/SepiaShader.js +++ b/examples/js/shaders/SepiaShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SepiaShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/SobelOperatorShader.js b/examples/js/shaders/SobelOperatorShader.js index f33b634be3c036..b30bd9df798adb 100644 --- a/examples/js/shaders/SobelOperatorShader.js +++ b/examples/js/shaders/SobelOperatorShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SobelOperatorShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * diff --git a/examples/js/shaders/TechnicolorShader.js b/examples/js/shaders/TechnicolorShader.js index 36b6548972f01b..92f08584241232 100644 --- a/examples/js/shaders/TechnicolorShader.js +++ b/examples/js/shaders/TechnicolorShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TechnicolorShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author flimshaw / http://charliehoey.com * diff --git a/examples/js/shaders/ToneMapShader.js b/examples/js/shaders/ToneMapShader.js index 6094cb69815842..8933ee90e4514d 100644 --- a/examples/js/shaders/ToneMapShader.js +++ b/examples/js/shaders/ToneMapShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ToneMapShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author miibond * diff --git a/examples/js/shaders/ToonShader.js b/examples/js/shaders/ToonShader.js index e0fa321c1ec065..01eb78b2eaf897 100644 --- a/examples/js/shaders/ToonShader.js +++ b/examples/js/shaders/ToonShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ToonShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ diff --git a/examples/js/shaders/TranslucentShader.js b/examples/js/shaders/TranslucentShader.js index 619d71a71e9706..c69fdc8f4cbaa1 100644 --- a/examples/js/shaders/TranslucentShader.js +++ b/examples/js/shaders/TranslucentShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TranslucentShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author daoshengmu / http://dsmu.me/ * diff --git a/examples/js/shaders/TriangleBlurShader.js b/examples/js/shaders/TriangleBlurShader.js index bd5341af6522b7..bae255a0cfa4b3 100644 --- a/examples/js/shaders/TriangleBlurShader.js +++ b/examples/js/shaders/TriangleBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TriangleBlurShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / http://www.lab4games.net/zz85/blog * diff --git a/examples/js/shaders/UnpackDepthRGBAShader.js b/examples/js/shaders/UnpackDepthRGBAShader.js index 6d91bc7279a203..8eb8f8f968897b 100644 --- a/examples/js/shaders/UnpackDepthRGBAShader.js +++ b/examples/js/shaders/UnpackDepthRGBAShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.UnpackDepthRGBAShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/VerticalBlurShader.js b/examples/js/shaders/VerticalBlurShader.js index 7fdaf267eca82e..fcc8266a148f80 100644 --- a/examples/js/shaders/VerticalBlurShader.js +++ b/examples/js/shaders/VerticalBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VerticalBlurShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / http://www.lab4games.net/zz85/blog * diff --git a/examples/js/shaders/VerticalTiltShiftShader.js b/examples/js/shaders/VerticalTiltShiftShader.js index ff56d4fc0cc4dc..fac0c8aff12128 100644 --- a/examples/js/shaders/VerticalTiltShiftShader.js +++ b/examples/js/shaders/VerticalTiltShiftShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VerticalTiltShiftShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/VignetteShader.js b/examples/js/shaders/VignetteShader.js index 739d86bdb7ccca..30eb74bce3a196 100644 --- a/examples/js/shaders/VignetteShader.js +++ b/examples/js/shaders/VignetteShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VignetteShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ * diff --git a/examples/js/shaders/VolumeShader.js b/examples/js/shaders/VolumeShader.js index 675d869845eb87..483562548fc7e2 100644 --- a/examples/js/shaders/VolumeShader.js +++ b/examples/js/shaders/VolumeShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VolumeShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Almar Klein / http://almarklein.org * diff --git a/examples/js/shaders/WaterRefractionShader.js b/examples/js/shaders/WaterRefractionShader.js index 9512fca6d4a8d9..71b786d51764d9 100644 --- a/examples/js/shaders/WaterRefractionShader.js +++ b/examples/js/shaders/WaterRefractionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.WaterRefractionShader: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author Mugen87 / https://github.com/Mugen87 * diff --git a/examples/js/utils/BufferGeometryUtils.js b/examples/js/utils/BufferGeometryUtils.js index c24d7fa5684bd5..02134a11165296 100644 --- a/examples/js/utils/BufferGeometryUtils.js +++ b/examples/js/utils/BufferGeometryUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BufferGeometryUtils: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ */ diff --git a/examples/js/utils/GeometryUtils.js b/examples/js/utils/GeometryUtils.js index 79803aeb785740..90468460c7958b 100644 --- a/examples/js/utils/GeometryUtils.js +++ b/examples/js/utils/GeometryUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GeometryUtils: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ diff --git a/examples/js/utils/SceneUtils.js b/examples/js/utils/SceneUtils.js index c7367dc56e47dc..6d404cde363f92 100644 --- a/examples/js/utils/SceneUtils.js +++ b/examples/js/utils/SceneUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SceneUtils: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author alteredq / http://alteredqualia.com/ */ diff --git a/examples/js/utils/ShadowMapViewer.js b/examples/js/utils/ShadowMapViewer.js index 06a0c126303903..e9580bdf00d736 100644 --- a/examples/js/utils/ShadowMapViewer.js +++ b/examples/js/utils/ShadowMapViewer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ShadowMapViewer: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author arya-s / https://github.com/arya-s * diff --git a/examples/js/utils/SkeletonUtils.js b/examples/js/utils/SkeletonUtils.js index 671e2a1a1cd344..c82ff24595d5f5 100644 --- a/examples/js/utils/SkeletonUtils.js +++ b/examples/js/utils/SkeletonUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SkeletonUtils: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author sunag / http://www.sunag.com.br */ diff --git a/examples/js/utils/TypedArrayUtils.js b/examples/js/utils/TypedArrayUtils.js index 31a98849c856a6..c1b98486ff8003 100644 --- a/examples/js/utils/TypedArrayUtils.js +++ b/examples/js/utils/TypedArrayUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TypedArrayUtils: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); THREE.TypedArrayUtils = {}; diff --git a/examples/js/utils/UVsDebug.js b/examples/js/utils/UVsDebug.js index 8175901f652bbd..bf136a0fb9703c 100644 --- a/examples/js/utils/UVsDebug.js +++ b/examples/js/utils/UVsDebug.js @@ -1,3 +1,4 @@ +console.warn( "THREE.UVsDebug: Importing from 'examples/js' is now deprecated. Please import ES6 modules from 'examples/jsm' instead. Refer to the announcement and documentation, or reach out on the forums if you need guidance with this change. Announcement: TODO. Documentation: https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." ); /** * @author zz85 / http://github.com/zz85 * @author WestLangley / http://github.com/WestLangley diff --git a/utils/modularize.js b/utils/modularize.js index c746b637394c58..045f41167afebd 100644 --- a/utils/modularize.js +++ b/utils/modularize.js @@ -250,6 +250,10 @@ function convert( path, exampleDependencies, ignoreList ) { var classNames = []; var coreDependencies = {}; + // strip warning + + contents = contents.replace( /^\s*console\.warn\(.*?\);\s*/, '' ); + // imports contents = contents.replace( /^\/\*+[^*]*\*+(?:[^/*][^*]*\*+)*\//, function ( match ) {