diff --git a/docs/manual/en/introduction/Import-via-modules.html b/docs/manual/en/introduction/Import-via-modules.html index ed7e07f2f6f6c5..99a90559b2d92c 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'; @@ -77,5 +77,10 @@

Importable Examples

your three.js main file. For example, it's not acceptable to use *GLTFLoader* and *OrbitControls* from R96 together with three.js R103.

+

+ As of THREE R117, the *examples/js* directory will not be available anymore. That means it's no longer possible to import examples files via + *require()* (CommonJS). Besides, it's no longer possible to include example files with the *script* tag into HTML files. The only way of importing + example files is via ES6 import statements. +

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..f38b6e1baca6ef 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'; @@ -76,5 +76,10 @@

可引入的示例

请注意:当你在使用来自示例(examples)文件夹中的代码时,其中的所有文件和你的three.js主文件版本相匹配是很重要的。 比如说,three.js的R103版本不能够接受和来自R96版本的*GLTFLoader*和*OrbitControls*一起使用。

+

+ As of THREE R117, the *examples/js* directory will not be available anymore. That means it's no longer possible to import examples files via + *require()* (CommonJS). Besides, it's no longer possible to include example files with the *script* tag into HTML files. The only way of importing + example files is via ES6 import statements. +

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..81bb39df2065f4 100644 --- a/examples/js/WebGL.js +++ b/examples/js/WebGL.js @@ -1,3 +1,4 @@ +console.warn( "THREE.WebGL: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..09ba04c4c4f817 100644 --- a/examples/js/animation/AnimationClipCreator.js +++ b/examples/js/animation/AnimationClipCreator.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AnimationClipCreator: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..adec30131641b4 100644 --- a/examples/js/animation/CCDIKSolver.js +++ b/examples/js/animation/CCDIKSolver.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CCDIKSolver: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1cb6d198cd41fe 100644 --- a/examples/js/animation/MMDAnimationHelper.js +++ b/examples/js/animation/MMDAnimationHelper.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDAnimationHelper: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..3a6495320a6734 100644 --- a/examples/js/animation/MMDPhysics.js +++ b/examples/js/animation/MMDPhysics.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDPhysics: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..06a578577190f4 100644 --- a/examples/js/animation/TimelinerController.js +++ b/examples/js/animation/TimelinerController.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TimelinerController: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..5c4111bb2bf71a 100644 --- a/examples/js/cameras/CinematicCamera.js +++ b/examples/js/cameras/CinematicCamera.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CinematicCamera: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2c20ff4cf62ec4 100644 --- a/examples/js/controls/DeviceOrientationControls.js +++ b/examples/js/controls/DeviceOrientationControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DeviceOrientationControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..8e81fc7ae66d30 100644 --- a/examples/js/controls/DragControls.js +++ b/examples/js/controls/DragControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DragControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..81e5ed7f127773 100644 --- a/examples/js/controls/FirstPersonControls.js +++ b/examples/js/controls/FirstPersonControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FirstPersonControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..03e604f8aafdf0 100644 --- a/examples/js/controls/FlyControls.js +++ b/examples/js/controls/FlyControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FlyControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..72334919e8724c 100644 --- a/examples/js/controls/OrbitControls.js +++ b/examples/js/controls/OrbitControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OrbitControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..aadeb45c0bb993 100644 --- a/examples/js/controls/PointerLockControls.js +++ b/examples/js/controls/PointerLockControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PointerLockControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b13c8796c149da 100644 --- a/examples/js/controls/TrackballControls.js +++ b/examples/js/controls/TrackballControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TrackballControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..83fb2fb7272340 100644 --- a/examples/js/controls/TransformControls.js +++ b/examples/js/controls/TransformControls.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TransformControls: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e001443c7fc4ae 100644 --- a/examples/js/curves/CurveExtras.js +++ b/examples/js/curves/CurveExtras.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CurveExtras: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..87915c8823359b 100644 --- a/examples/js/curves/NURBSCurve.js +++ b/examples/js/curves/NURBSCurve.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NURBSCurve: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..a46e4cb326daf8 100644 --- a/examples/js/curves/NURBSSurface.js +++ b/examples/js/curves/NURBSSurface.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NURBSSurface: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..306959045bd2c0 100644 --- a/examples/js/curves/NURBSUtils.js +++ b/examples/js/curves/NURBSUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NURBSUtils: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..a6db2bd2bc172c 100644 --- a/examples/js/effects/AnaglyphEffect.js +++ b/examples/js/effects/AnaglyphEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AnaglyphEffect: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..550ff8b6c857d6 100644 --- a/examples/js/effects/AsciiEffect.js +++ b/examples/js/effects/AsciiEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AsciiEffect: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7ef092d5843875 100644 --- a/examples/js/effects/OutlineEffect.js +++ b/examples/js/effects/OutlineEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OutlineEffect: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..efc94b4ac2cd71 100644 --- a/examples/js/effects/ParallaxBarrierEffect.js +++ b/examples/js/effects/ParallaxBarrierEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ParallaxBarrierEffect: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..ba4f68f04837d5 100644 --- a/examples/js/effects/PeppersGhostEffect.js +++ b/examples/js/effects/PeppersGhostEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PeppersGhostEffect: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..d1a18895af178b 100644 --- a/examples/js/effects/StereoEffect.js +++ b/examples/js/effects/StereoEffect.js @@ -1,3 +1,4 @@ +console.warn( "THREE.StereoEffect: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..91247e208129d4 100644 --- a/examples/js/exporters/ColladaExporter.js +++ b/examples/js/exporters/ColladaExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColladaExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..818a45c9837a6e 100644 --- a/examples/js/exporters/DRACOExporter.js +++ b/examples/js/exporters/DRACOExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DRACOExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1dc4ee04b76589 100644 --- a/examples/js/exporters/GLTFExporter.js +++ b/examples/js/exporters/GLTFExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GLTFExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e375032f004b43 100644 --- a/examples/js/exporters/MMDExporter.js +++ b/examples/js/exporters/MMDExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e7f0c15d3a5fdf 100644 --- a/examples/js/exporters/OBJExporter.js +++ b/examples/js/exporters/OBJExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OBJExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e523e418fb5858 100644 --- a/examples/js/exporters/PLYExporter.js +++ b/examples/js/exporters/PLYExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PLYExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..95236ccb276a8a 100644 --- a/examples/js/exporters/STLExporter.js +++ b/examples/js/exporters/STLExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.STLExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0e56bb2719eb41 100644 --- a/examples/js/exporters/TypedGeometryExporter.js +++ b/examples/js/exporters/TypedGeometryExporter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TypedGeometryExporter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..6ce1fad82a145e 100644 --- a/examples/js/geometries/BoxLineGeometry.js +++ b/examples/js/geometries/BoxLineGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BoxLineGeometry: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7ed52ddb8889a3 100644 --- a/examples/js/geometries/ConvexGeometry.js +++ b/examples/js/geometries/ConvexGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvexGeometry: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..41be25c68a19d1 100644 --- a/examples/js/geometries/DecalGeometry.js +++ b/examples/js/geometries/DecalGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DecalGeometry: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..c96ed8ace00381 100644 --- a/examples/js/geometries/LightningStrike.js +++ b/examples/js/geometries/LightningStrike.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LightningStrike: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0cea9085bb84a9 100644 --- a/examples/js/geometries/ParametricGeometries.js +++ b/examples/js/geometries/ParametricGeometries.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ParametricGeometries: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..890cfb60f3024c 100644 --- a/examples/js/geometries/TeapotBufferGeometry.js +++ b/examples/js/geometries/TeapotBufferGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TeapotBufferGeometry: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..23fb85c30aae68 100644 --- a/examples/js/interactive/SelectionBox.js +++ b/examples/js/interactive/SelectionBox.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SelectionBox: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..68bf0f6bc48c76 100644 --- a/examples/js/interactive/SelectionHelper.js +++ b/examples/js/interactive/SelectionHelper.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SelectionHelper: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..aca31b3fd72b07 100644 --- a/examples/js/lights/LightProbeGenerator.js +++ b/examples/js/lights/LightProbeGenerator.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LightProbeGenerator: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..158cb9ee92a333 100644 --- a/examples/js/lights/RectAreaLightUniformsLib.js +++ b/examples/js/lights/RectAreaLightUniformsLib.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RectAreaLightUniformsLib: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1ccbfc30bb0a68 100644 --- a/examples/js/lines/Line2.js +++ b/examples/js/lines/Line2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Line2: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2f2607f4e0ae7d 100644 --- a/examples/js/lines/LineGeometry.js +++ b/examples/js/lines/LineGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineGeometry: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..da1779f38ba25e 100644 --- a/examples/js/lines/LineMaterial.js +++ b/examples/js/lines/LineMaterial.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineMaterial: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7f75dd35615bb8 100644 --- a/examples/js/lines/LineSegments2.js +++ b/examples/js/lines/LineSegments2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineSegments2: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..61d6a29b190620 100644 --- a/examples/js/lines/LineSegmentsGeometry.js +++ b/examples/js/lines/LineSegmentsGeometry.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LineSegmentsGeometry: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1e1f4b1a42ab1b 100644 --- a/examples/js/lines/Wireframe.js +++ b/examples/js/lines/Wireframe.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Wireframe: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..68a07b94499277 100644 --- a/examples/js/lines/WireframeGeometry2.js +++ b/examples/js/lines/WireframeGeometry2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.WireframeGeometry2: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..cfaf05ddb5f80f 100644 --- a/examples/js/loaders/3MFLoader.js +++ b/examples/js/loaders/3MFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.3MFLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..739c2d68001ed7 100644 --- a/examples/js/loaders/AMFLoader.js +++ b/examples/js/loaders/AMFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AMFLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..a64cb409b6708d 100644 --- a/examples/js/loaders/AssimpLoader.js +++ b/examples/js/loaders/AssimpLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AssimpLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..62d3d45c66d506 100644 --- a/examples/js/loaders/BVHLoader.js +++ b/examples/js/loaders/BVHLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BVHLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..44a19d860d915e 100644 --- a/examples/js/loaders/BasisTextureLoader.js +++ b/examples/js/loaders/BasisTextureLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BasisTextureLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..c0074a8a11145b 100644 --- a/examples/js/loaders/ColladaLoader.js +++ b/examples/js/loaders/ColladaLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColladaLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1686804c0fca8f 100644 --- a/examples/js/loaders/DDSLoader.js +++ b/examples/js/loaders/DDSLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DDSLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0a909c62393279 100644 --- a/examples/js/loaders/DRACOLoader.js +++ b/examples/js/loaders/DRACOLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DRACOLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..68a18e78ffbb0e 100644 --- a/examples/js/loaders/EXRLoader.js +++ b/examples/js/loaders/EXRLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.EXRLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..567684ef3790c8 100644 --- a/examples/js/loaders/FBXLoader.js +++ b/examples/js/loaders/FBXLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FBXLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..8577cf917d3d07 100644 --- a/examples/js/loaders/GCodeLoader.js +++ b/examples/js/loaders/GCodeLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GCodeLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..d98c0178567d6d 100644 --- a/examples/js/loaders/GLTFLoader.js +++ b/examples/js/loaders/GLTFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GLTFLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0bbf8ba9876c37 100644 --- a/examples/js/loaders/HDRCubeTextureLoader.js +++ b/examples/js/loaders/HDRCubeTextureLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HDRCubeTextureLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..4dc34034b9fef0 100644 --- a/examples/js/loaders/KMZLoader.js +++ b/examples/js/loaders/KMZLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.KMZLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..5c0a4bbcf7d747 100644 --- a/examples/js/loaders/KTXLoader.js +++ b/examples/js/loaders/KTXLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.KTXLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..4ba56ab828a464 100644 --- a/examples/js/loaders/LDrawLoader.js +++ b/examples/js/loaders/LDrawLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LDrawLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..f3193952d51f65 100644 --- a/examples/js/loaders/LWOLoader.js +++ b/examples/js/loaders/LWOLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LWOLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0bd8e55887a54a 100644 --- a/examples/js/loaders/MD2Loader.js +++ b/examples/js/loaders/MD2Loader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MD2Loader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..ef8e84f927f744 100644 --- a/examples/js/loaders/MMDLoader.js +++ b/examples/js/loaders/MMDLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MMDLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..05a1624c60eb6e 100644 --- a/examples/js/loaders/MTLLoader.js +++ b/examples/js/loaders/MTLLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MTLLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..359eb608a5cea0 100644 --- a/examples/js/loaders/NRRDLoader.js +++ b/examples/js/loaders/NRRDLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NRRDLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0c5c9b7dfc6ffc 100644 --- a/examples/js/loaders/OBJLoader.js +++ b/examples/js/loaders/OBJLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OBJLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..253f1ce40ac4f1 100644 --- a/examples/js/loaders/PCDLoader.js +++ b/examples/js/loaders/PCDLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PCDLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..d09c35344feb10 100644 --- a/examples/js/loaders/PDBLoader.js +++ b/examples/js/loaders/PDBLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PDBLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..18dd2f1a52dbd6 100644 --- a/examples/js/loaders/PLYLoader.js +++ b/examples/js/loaders/PLYLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PLYLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b568813e8c51e9 100644 --- a/examples/js/loaders/PRWMLoader.js +++ b/examples/js/loaders/PRWMLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PRWMLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..a453464d24e187 100644 --- a/examples/js/loaders/PVRLoader.js +++ b/examples/js/loaders/PVRLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PVRLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..97f67af2a8763c 100644 --- a/examples/js/loaders/RGBELoader.js +++ b/examples/js/loaders/RGBELoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RGBELoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..ccd887d42ea96c 100644 --- a/examples/js/loaders/STLLoader.js +++ b/examples/js/loaders/STLLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.STLLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1950f523f65db7 100644 --- a/examples/js/loaders/SVGLoader.js +++ b/examples/js/loaders/SVGLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SVGLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7e58a6ce53eb18 100644 --- a/examples/js/loaders/TDSLoader.js +++ b/examples/js/loaders/TDSLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TDSLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..bb737f91b8ba39 100644 --- a/examples/js/loaders/TGALoader.js +++ b/examples/js/loaders/TGALoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TGALoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..940d11ca1d407f 100644 --- a/examples/js/loaders/TTFLoader.js +++ b/examples/js/loaders/TTFLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TTFLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..154f222e2f43af 100644 --- a/examples/js/loaders/VRMLLoader.js +++ b/examples/js/loaders/VRMLLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VRMLLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..aff91c0da5d58b 100644 --- a/examples/js/loaders/VRMLoader.js +++ b/examples/js/loaders/VRMLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VRMLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..4ebd9633119150 100644 --- a/examples/js/loaders/VTKLoader.js +++ b/examples/js/loaders/VTKLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VTKLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..82103d555c9051 100644 --- a/examples/js/loaders/XLoader.js +++ b/examples/js/loaders/XLoader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.XLoader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..74ab345c6e6ce6 100644 --- a/examples/js/math/ColorConverter.js +++ b/examples/js/math/ColorConverter.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColorConverter: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..d0e14eda95cd3c 100644 --- a/examples/js/math/ConvexHull.js +++ b/examples/js/math/ConvexHull.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvexHull: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..367c39a5e84468 100644 --- a/examples/js/math/ImprovedNoise.js +++ b/examples/js/math/ImprovedNoise.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ImprovedNoise: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0379fa564cd69d 100644 --- a/examples/js/math/Lut.js +++ b/examples/js/math/Lut.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Lut: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b5ccf0a53a1f01 100644 --- a/examples/js/math/SimplexNoise.js +++ b/examples/js/math/SimplexNoise.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SimplexNoise: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2102b52b9a9493 100644 --- a/examples/js/misc/ConvexObjectBreaker.js +++ b/examples/js/misc/ConvexObjectBreaker.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvexObjectBreaker: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..24028a34307920 100644 --- a/examples/js/misc/GPUComputationRenderer.js +++ b/examples/js/misc/GPUComputationRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GPUComputationRenderer: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b0cf511b613366 100644 --- a/examples/js/misc/Gyroscope.js +++ b/examples/js/misc/Gyroscope.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Gyroscope: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..f8bbb9f2a8de86 100644 --- a/examples/js/misc/MD2Character.js +++ b/examples/js/misc/MD2Character.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MD2Character: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..fee4dee3347190 100644 --- a/examples/js/misc/MD2CharacterComplex.js +++ b/examples/js/misc/MD2CharacterComplex.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MD2CharacterComplex: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..da1324ab4b041f 100644 --- a/examples/js/misc/MorphAnimMesh.js +++ b/examples/js/misc/MorphAnimMesh.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MorphAnimMesh: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..f57749bce283be 100644 --- a/examples/js/misc/MorphBlendMesh.js +++ b/examples/js/misc/MorphBlendMesh.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MorphBlendMesh: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b2b899204c341c 100644 --- a/examples/js/misc/Ocean.js +++ b/examples/js/misc/Ocean.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Ocean: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..c0d2ff1444d222 100644 --- a/examples/js/misc/RollerCoaster.js +++ b/examples/js/misc/RollerCoaster.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RollerCoaster: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..eea351ef75b2cc 100644 --- a/examples/js/misc/Volume.js +++ b/examples/js/misc/Volume.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Volume: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..cb9e2c17c749e3 100644 --- a/examples/js/misc/VolumeSlice.js +++ b/examples/js/misc/VolumeSlice.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VolumeSlice: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2fe769ff67ab2f 100644 --- a/examples/js/modifiers/ExplodeModifier.js +++ b/examples/js/modifiers/ExplodeModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ExplodeModifier: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..259bf84a5715fe 100644 --- a/examples/js/modifiers/SimplifyModifier.js +++ b/examples/js/modifiers/SimplifyModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SimplifyModifier: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..cf1b682f2f4d76 100644 --- a/examples/js/modifiers/SubdivisionModifier.js +++ b/examples/js/modifiers/SubdivisionModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SubdivisionModifier: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..f7b5f2b3b1d40f 100644 --- a/examples/js/modifiers/TessellateModifier.js +++ b/examples/js/modifiers/TessellateModifier.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TessellateModifier: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..80aa73b3c7ea8e 100644 --- a/examples/js/objects/Fire.js +++ b/examples/js/objects/Fire.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Fire: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..93770731579cbf 100644 --- a/examples/js/objects/Lensflare.js +++ b/examples/js/objects/Lensflare.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Lensflare: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..bed05c0fb5682b 100644 --- a/examples/js/objects/LightningStorm.js +++ b/examples/js/objects/LightningStorm.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LightningStorm: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..6bdf047d9e0142 100644 --- a/examples/js/objects/MarchingCubes.js +++ b/examples/js/objects/MarchingCubes.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MarchingCubes: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..bf88f133818414 100644 --- a/examples/js/objects/Reflector.js +++ b/examples/js/objects/Reflector.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Reflector: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e220e3e4b3ed58 100644 --- a/examples/js/objects/ReflectorRTT.js +++ b/examples/js/objects/ReflectorRTT.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ReflectorRTT: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7b7c94f25f0a8e 100644 --- a/examples/js/objects/Refractor.js +++ b/examples/js/objects/Refractor.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Refractor: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..80a4d1aae976e9 100644 --- a/examples/js/objects/ShadowMesh.js +++ b/examples/js/objects/ShadowMesh.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ShadowMesh: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7c509e006c560a 100644 --- a/examples/js/objects/Sky.js +++ b/examples/js/objects/Sky.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Sky: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..4b18514276e31f 100644 --- a/examples/js/objects/Water.js +++ b/examples/js/objects/Water.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Water: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..388ec67b072a1e 100644 --- a/examples/js/objects/Water2.js +++ b/examples/js/objects/Water2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Water2: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..fe12c04c13c09f 100644 --- a/examples/js/postprocessing/AdaptiveToneMappingPass.js +++ b/examples/js/postprocessing/AdaptiveToneMappingPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AdaptiveToneMappingPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1f9e3bfcbdeb9f 100644 --- a/examples/js/postprocessing/AfterimagePass.js +++ b/examples/js/postprocessing/AfterimagePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AfterimagePass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..aabfc6833728fa 100644 --- a/examples/js/postprocessing/BloomPass.js +++ b/examples/js/postprocessing/BloomPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BloomPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..968e2db64e84ce 100644 --- a/examples/js/postprocessing/BokehPass.js +++ b/examples/js/postprocessing/BokehPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BokehPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..ea8efd7301f819 100644 --- a/examples/js/postprocessing/ClearPass.js +++ b/examples/js/postprocessing/ClearPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ClearPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..684d18759d55cd 100644 --- a/examples/js/postprocessing/CubeTexturePass.js +++ b/examples/js/postprocessing/CubeTexturePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CubeTexturePass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..ac88f5ddbf71d8 100644 --- a/examples/js/postprocessing/DotScreenPass.js +++ b/examples/js/postprocessing/DotScreenPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DotScreenPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..028e2bdb95caf8 100644 --- a/examples/js/postprocessing/EffectComposer.js +++ b/examples/js/postprocessing/EffectComposer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.EffectComposer: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..543e6dd8532d89 100644 --- a/examples/js/postprocessing/FilmPass.js +++ b/examples/js/postprocessing/FilmPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FilmPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..21dc797bd08063 100644 --- a/examples/js/postprocessing/GlitchPass.js +++ b/examples/js/postprocessing/GlitchPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GlitchPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2ce0da01aa748b 100644 --- a/examples/js/postprocessing/HalftonePass.js +++ b/examples/js/postprocessing/HalftonePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HalftonePass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0ca5e94756bc9d 100644 --- a/examples/js/postprocessing/MaskPass.js +++ b/examples/js/postprocessing/MaskPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MaskPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..8fbd06b13223d0 100644 --- a/examples/js/postprocessing/OutlinePass.js +++ b/examples/js/postprocessing/OutlinePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OutlinePass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..a5e5865bae0825 100644 --- a/examples/js/postprocessing/RenderPass.js +++ b/examples/js/postprocessing/RenderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RenderPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..15c6feda0e9ebd 100644 --- a/examples/js/postprocessing/SAOPass.js +++ b/examples/js/postprocessing/SAOPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SAOPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..3a7a1818af0799 100644 --- a/examples/js/postprocessing/SMAAPass.js +++ b/examples/js/postprocessing/SMAAPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SMAAPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..d9ac95ec86f141 100644 --- a/examples/js/postprocessing/SSAARenderPass.js +++ b/examples/js/postprocessing/SSAARenderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SSAARenderPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..de4d3650324b82 100644 --- a/examples/js/postprocessing/SSAOPass.js +++ b/examples/js/postprocessing/SSAOPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SSAOPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..d57f2139555522 100644 --- a/examples/js/postprocessing/SavePass.js +++ b/examples/js/postprocessing/SavePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SavePass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..df7462b85d8453 100644 --- a/examples/js/postprocessing/ShaderPass.js +++ b/examples/js/postprocessing/ShaderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ShaderPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..51ecedd6b091c2 100644 --- a/examples/js/postprocessing/TAARenderPass.js +++ b/examples/js/postprocessing/TAARenderPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TAARenderPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..bb32518c0a2415 100644 --- a/examples/js/postprocessing/TexturePass.js +++ b/examples/js/postprocessing/TexturePass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TexturePass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..5645a481063318 100644 --- a/examples/js/postprocessing/UnrealBloomPass.js +++ b/examples/js/postprocessing/UnrealBloomPass.js @@ -1,3 +1,4 @@ +console.warn( "THREE.UnrealBloomPass: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1f73baca36c6c6 100644 --- a/examples/js/renderers/CSS2DRenderer.js +++ b/examples/js/renderers/CSS2DRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CSS2DRenderer: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b85e735d444bc6 100644 --- a/examples/js/renderers/CSS3DRenderer.js +++ b/examples/js/renderers/CSS3DRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CSS3DRenderer: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e0cbc454cb1246 100644 --- a/examples/js/renderers/Projector.js +++ b/examples/js/renderers/Projector.js @@ -1,3 +1,4 @@ +console.warn( "THREE.Projector: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..72ba8862395412 100644 --- a/examples/js/renderers/SVGRenderer.js +++ b/examples/js/renderers/SVGRenderer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SVGRenderer: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0be15e9c666d8b 100644 --- a/examples/js/shaders/AfterimageShader.js +++ b/examples/js/shaders/AfterimageShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.AfterimageShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2a76e42c67f38f 100644 --- a/examples/js/shaders/BasicShader.js +++ b/examples/js/shaders/BasicShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BasicShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e4d5b6c6bf3732 100644 --- a/examples/js/shaders/BleachBypassShader.js +++ b/examples/js/shaders/BleachBypassShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BleachBypassShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..5f6e014c628245 100644 --- a/examples/js/shaders/BlendShader.js +++ b/examples/js/shaders/BlendShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BlendShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e768176ec8a9ed 100644 --- a/examples/js/shaders/BokehShader.js +++ b/examples/js/shaders/BokehShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BokehShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..8e2a7660153c22 100644 --- a/examples/js/shaders/BokehShader2.js +++ b/examples/js/shaders/BokehShader2.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BokehShader2: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..4489603e5ae51b 100644 --- a/examples/js/shaders/BrightnessContrastShader.js +++ b/examples/js/shaders/BrightnessContrastShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BrightnessContrastShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..8dc8ed7d488c28 100644 --- a/examples/js/shaders/ColorCorrectionShader.js +++ b/examples/js/shaders/ColorCorrectionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColorCorrectionShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..48cb1a34e59d88 100644 --- a/examples/js/shaders/ColorifyShader.js +++ b/examples/js/shaders/ColorifyShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ColorifyShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..27e20d4f47d524 100644 --- a/examples/js/shaders/ConvolutionShader.js +++ b/examples/js/shaders/ConvolutionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ConvolutionShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..dbf12f81d292e2 100644 --- a/examples/js/shaders/CopyShader.js +++ b/examples/js/shaders/CopyShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.CopyShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..396d075612d29a 100644 --- a/examples/js/shaders/DOFMipMapShader.js +++ b/examples/js/shaders/DOFMipMapShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DOFMipMapShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1d392db10b8090 100644 --- a/examples/js/shaders/DepthLimitedBlurShader.js +++ b/examples/js/shaders/DepthLimitedBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DepthLimitedBlurShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..9289ba2e3f8487 100644 --- a/examples/js/shaders/DigitalGlitch.js +++ b/examples/js/shaders/DigitalGlitch.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DigitalGlitch: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..48e865bce0644c 100644 --- a/examples/js/shaders/DotScreenShader.js +++ b/examples/js/shaders/DotScreenShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.DotScreenShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..b5dee0e94ca1a5 100644 --- a/examples/js/shaders/FXAAShader.js +++ b/examples/js/shaders/FXAAShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FXAAShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..38a187c8acea30 100644 --- a/examples/js/shaders/FilmShader.js +++ b/examples/js/shaders/FilmShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FilmShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..760777b14b04c3 100644 --- a/examples/js/shaders/FocusShader.js +++ b/examples/js/shaders/FocusShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FocusShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..74fceef92affc5 100644 --- a/examples/js/shaders/FreiChenShader.js +++ b/examples/js/shaders/FreiChenShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FreiChenShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e39a7ac9e6bf4b 100644 --- a/examples/js/shaders/FresnelShader.js +++ b/examples/js/shaders/FresnelShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.FresnelShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..710cd4c215bdb1 100644 --- a/examples/js/shaders/GammaCorrectionShader.js +++ b/examples/js/shaders/GammaCorrectionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GammaCorrectionShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0ca6e2a650fb92 100644 --- a/examples/js/shaders/GodRaysShader.js +++ b/examples/js/shaders/GodRaysShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GodRaysShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1655f55c9800f6 100644 --- a/examples/js/shaders/HalftoneShader.js +++ b/examples/js/shaders/HalftoneShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HalftoneShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..f81ffabd69346c 100644 --- a/examples/js/shaders/HorizontalBlurShader.js +++ b/examples/js/shaders/HorizontalBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HorizontalBlurShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..07c875d834c24b 100644 --- a/examples/js/shaders/HorizontalTiltShiftShader.js +++ b/examples/js/shaders/HorizontalTiltShiftShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HorizontalTiltShiftShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..bd3e7564844a75 100644 --- a/examples/js/shaders/HueSaturationShader.js +++ b/examples/js/shaders/HueSaturationShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.HueSaturationShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..1632ced43816af 100644 --- a/examples/js/shaders/KaleidoShader.js +++ b/examples/js/shaders/KaleidoShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.KaleidoShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..51b881c0d47164 100644 --- a/examples/js/shaders/LuminosityHighPassShader.js +++ b/examples/js/shaders/LuminosityHighPassShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LuminosityHighPassShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0d7066b68ec2db 100644 --- a/examples/js/shaders/LuminosityShader.js +++ b/examples/js/shaders/LuminosityShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.LuminosityShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..7a6b562bde6f0e 100644 --- a/examples/js/shaders/MirrorShader.js +++ b/examples/js/shaders/MirrorShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.MirrorShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..010c2721fe8907 100644 --- a/examples/js/shaders/NormalMapShader.js +++ b/examples/js/shaders/NormalMapShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.NormalMapShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..f61904c41f34fb 100644 --- a/examples/js/shaders/OceanShaders.js +++ b/examples/js/shaders/OceanShaders.js @@ -1,3 +1,4 @@ +console.warn( "THREE.OceanShaders: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..da21cd81d66782 100644 --- a/examples/js/shaders/ParallaxShader.js +++ b/examples/js/shaders/ParallaxShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ParallaxShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..a00d83f0e48cf2 100644 --- a/examples/js/shaders/PixelShader.js +++ b/examples/js/shaders/PixelShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.PixelShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..eef416e4629604 100644 --- a/examples/js/shaders/RGBShiftShader.js +++ b/examples/js/shaders/RGBShiftShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.RGBShiftShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..062c977926b392 100644 --- a/examples/js/shaders/SAOShader.js +++ b/examples/js/shaders/SAOShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SAOShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..2a45dd82524907 100644 --- a/examples/js/shaders/SMAAShader.js +++ b/examples/js/shaders/SMAAShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SMAAShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..feb979c2ee6387 100644 --- a/examples/js/shaders/SSAOShader.js +++ b/examples/js/shaders/SSAOShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SSAOShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..90d2c91acd50c4 100644 --- a/examples/js/shaders/SepiaShader.js +++ b/examples/js/shaders/SepiaShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SepiaShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..9cdce7379d6f32 100644 --- a/examples/js/shaders/SobelOperatorShader.js +++ b/examples/js/shaders/SobelOperatorShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SobelOperatorShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..8e6528c327a067 100644 --- a/examples/js/shaders/TechnicolorShader.js +++ b/examples/js/shaders/TechnicolorShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TechnicolorShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..37ceb838d712c6 100644 --- a/examples/js/shaders/ToneMapShader.js +++ b/examples/js/shaders/ToneMapShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ToneMapShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..e5ee130e7d3536 100644 --- a/examples/js/shaders/ToonShader.js +++ b/examples/js/shaders/ToonShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ToonShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..14acf3900dc6e5 100644 --- a/examples/js/shaders/TranslucentShader.js +++ b/examples/js/shaders/TranslucentShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TranslucentShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..547dbba7e74b0a 100644 --- a/examples/js/shaders/TriangleBlurShader.js +++ b/examples/js/shaders/TriangleBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TriangleBlurShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0fd9833b50866d 100644 --- a/examples/js/shaders/UnpackDepthRGBAShader.js +++ b/examples/js/shaders/UnpackDepthRGBAShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.UnpackDepthRGBAShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..4c0ae857c0b92e 100644 --- a/examples/js/shaders/VerticalBlurShader.js +++ b/examples/js/shaders/VerticalBlurShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VerticalBlurShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..5be34deea1e725 100644 --- a/examples/js/shaders/VerticalTiltShiftShader.js +++ b/examples/js/shaders/VerticalTiltShiftShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VerticalTiltShiftShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..3bf4e722b4d9f4 100644 --- a/examples/js/shaders/VignetteShader.js +++ b/examples/js/shaders/VignetteShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VignetteShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..621ce1637c7a4e 100644 --- a/examples/js/shaders/VolumeShader.js +++ b/examples/js/shaders/VolumeShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.VolumeShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..94fa09c73e9aca 100644 --- a/examples/js/shaders/WaterRefractionShader.js +++ b/examples/js/shaders/WaterRefractionShader.js @@ -1,3 +1,4 @@ +console.warn( "THREE.WaterRefractionShader: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..271f307aeae26d 100644 --- a/examples/js/utils/BufferGeometryUtils.js +++ b/examples/js/utils/BufferGeometryUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.BufferGeometryUtils: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..04e38da7495526 100644 --- a/examples/js/utils/GeometryUtils.js +++ b/examples/js/utils/GeometryUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.GeometryUtils: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..09d7165ba1a7e0 100644 --- a/examples/js/utils/SceneUtils.js +++ b/examples/js/utils/SceneUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SceneUtils: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..c016a2db871561 100644 --- a/examples/js/utils/ShadowMapViewer.js +++ b/examples/js/utils/ShadowMapViewer.js @@ -1,3 +1,4 @@ +console.warn( "THREE.ShadowMapViewer: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..185e7c146c3281 100644 --- a/examples/js/utils/SkeletonUtils.js +++ b/examples/js/utils/SkeletonUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.SkeletonUtils: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..0a4923f2400145 100644 --- a/examples/js/utils/TypedArrayUtils.js +++ b/examples/js/utils/TypedArrayUtils.js @@ -1,3 +1,4 @@ +console.warn( "THREE.TypedArrayUtils: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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..83006ed4ddc776 100644 --- a/examples/js/utils/UVsDebug.js +++ b/examples/js/utils/UVsDebug.js @@ -1,3 +1,4 @@ +console.warn( "THREE.UVsDebug: This file is deprecated and will be removed with R117. Please use the ES6 module version instead. More information in 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 ) {