Browse Source

Examples: Remove import maps polyfill (#26836)

Marco Fugaro 1 year ago
parent
commit
8d241a699e
100 changed files with 7 additions and 815 deletions
  1. 0 4
      docs/manual/ar/introduction/Installation.html
  2. 1 3
      docs/manual/en/introduction/Installation.html
  3. 0 8
      docs/manual/fr/introduction/Installation.html
  4. 0 8
      docs/manual/it/introduction/Installation.html
  5. 0 4
      docs/manual/ja/introduction/Installation.html
  6. 0 4
      docs/manual/ko/introduction/Installation.html
  7. 0 8
      docs/manual/pt-br/introduction/Installation.html
  8. 0 8
      docs/manual/ru/introduction/Installation.html
  9. 0 4
      docs/manual/zh/introduction/Installation.html
  10. 0 5
      docs/scenes/bones-browser.html
  11. 0 5
      docs/scenes/ccdiksolver-browser.html
  12. 1 6
      docs/scenes/geometry-browser.html
  13. 0 5
      docs/scenes/material-browser.html
  14. 0 4
      editor/index.html
  15. 0 391
      editor/js/libs/es-module-shims.js
  16. 0 1
      editor/sw.js
  17. 0 4
      examples/css2d_label.html
  18. 0 4
      examples/css3d_molecules.html
  19. 0 4
      examples/css3d_orthographic.html
  20. 0 4
      examples/css3d_periodictable.html
  21. 0 4
      examples/css3d_sandbox.html
  22. 0 4
      examples/css3d_sprites.html
  23. 0 4
      examples/css3d_youtube.html
  24. 0 4
      examples/games_fps.html
  25. 0 4
      examples/misc_animation_groups.html
  26. 0 4
      examples/misc_animation_keys.html
  27. 0 4
      examples/misc_boxselection.html
  28. 0 4
      examples/misc_controls_arcball.html
  29. 0 4
      examples/misc_controls_drag.html
  30. 0 4
      examples/misc_controls_fly.html
  31. 0 4
      examples/misc_controls_map.html
  32. 0 4
      examples/misc_controls_orbit.html
  33. 0 4
      examples/misc_controls_pointerlock.html
  34. 0 4
      examples/misc_controls_trackball.html
  35. 0 4
      examples/misc_controls_transform.html
  36. 0 4
      examples/misc_exporter_draco.html
  37. 0 4
      examples/misc_exporter_exr.html
  38. 0 4
      examples/misc_exporter_gltf.html
  39. 0 4
      examples/misc_exporter_obj.html
  40. 0 4
      examples/misc_exporter_ply.html
  41. 0 4
      examples/misc_exporter_stl.html
  42. 0 4
      examples/misc_exporter_usdz.html
  43. 0 4
      examples/misc_lookat.html
  44. 0 5
      examples/misc_uv_tests.html
  45. 0 4
      examples/physics_ammo_break.html
  46. 0 4
      examples/physics_ammo_cloth.html
  47. 0 4
      examples/physics_ammo_instancing.html
  48. 0 4
      examples/physics_ammo_rope.html
  49. 0 4
      examples/physics_ammo_terrain.html
  50. 0 4
      examples/physics_ammo_volume.html
  51. 0 4
      examples/physics_rapier_instancing.html
  52. 0 4
      examples/svg_lines.html
  53. 0 5
      examples/svg_sandbox.html
  54. 0 4
      examples/webaudio_orientation.html
  55. 0 4
      examples/webaudio_sandbox.html
  56. 0 4
      examples/webaudio_timing.html
  57. 0 4
      examples/webaudio_visualizer.html
  58. 0 4
      examples/webgl2_buffergeometry_attributes_integer.html
  59. 0 4
      examples/webgl2_buffergeometry_attributes_none.html
  60. 0 4
      examples/webgl2_materials_texture2darray.html
  61. 0 4
      examples/webgl2_materials_texture3d.html
  62. 0 4
      examples/webgl2_materials_texture3d_partialupdate.html
  63. 1 5
      examples/webgl2_multiple_rendertargets.html
  64. 0 4
      examples/webgl2_multisampled_renderbuffers.html
  65. 0 4
      examples/webgl2_rendertarget_texture2darray.html
  66. 0 4
      examples/webgl2_texture2darray_compressed.html
  67. 2 6
      examples/webgl2_ubo.html
  68. 0 4
      examples/webgl2_volume_cloud.html
  69. 1 5
      examples/webgl2_volume_instancing.html
  70. 0 4
      examples/webgl2_volume_perlin.html
  71. 0 4
      examples/webgl_animation_keyframes.html
  72. 0 4
      examples/webgl_animation_multiple.html
  73. 0 4
      examples/webgl_animation_skinning_additive_blending.html
  74. 0 4
      examples/webgl_animation_skinning_blending.html
  75. 1 5
      examples/webgl_animation_skinning_ik.html
  76. 0 4
      examples/webgl_animation_skinning_morph.html
  77. 0 4
      examples/webgl_buffergeometry.html
  78. 0 4
      examples/webgl_buffergeometry_compression.html
  79. 0 4
      examples/webgl_buffergeometry_custom_attributes_particles.html
  80. 0 4
      examples/webgl_buffergeometry_drawrange.html
  81. 0 4
      examples/webgl_buffergeometry_glbufferattribute.html
  82. 0 4
      examples/webgl_buffergeometry_indexed.html
  83. 0 4
      examples/webgl_buffergeometry_instancing.html
  84. 0 4
      examples/webgl_buffergeometry_instancing_billboards.html
  85. 0 4
      examples/webgl_buffergeometry_instancing_interleaved.html
  86. 0 4
      examples/webgl_buffergeometry_lines.html
  87. 0 4
      examples/webgl_buffergeometry_lines_indexed.html
  88. 0 4
      examples/webgl_buffergeometry_points.html
  89. 0 4
      examples/webgl_buffergeometry_points_interleaved.html
  90. 0 4
      examples/webgl_buffergeometry_rawshader.html
  91. 0 4
      examples/webgl_buffergeometry_selective_draw.html
  92. 0 4
      examples/webgl_buffergeometry_uint.html
  93. 0 4
      examples/webgl_camera.html
  94. 0 5
      examples/webgl_camera_array.html
  95. 0 4
      examples/webgl_camera_cinematic.html
  96. 0 4
      examples/webgl_camera_logarithmicdepthbuffer.html
  97. 0 5
      examples/webgl_clipping.html
  98. 0 5
      examples/webgl_clipping_advanced.html
  99. 0 5
      examples/webgl_clipping_intersection.html
  100. 0 4
      examples/webgl_clipping_stencil.html

+ 0 - 4
docs/manual/ar/introduction/Installation.html

@@ -85,8 +85,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {
@@ -126,8 +124,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {

+ 1 - 3
docs/manual/en/introduction/Installation.html

@@ -149,8 +149,6 @@ npm install --save-dev vite
 					We imported code from 'three' (an npm package) in <i>main.js</i>, and web browsers don't know what that means. In <i>index.html</i> we'll need to add an [link:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap import map] defining where to get the package. Put the code below inside the <i>&lt;head>&lt/head></i> tag, after the styles.
 				</p>
 				<code>
-&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 &lt;script type="importmap">
   {
     "imports": {
@@ -161,7 +159,7 @@ npm install --save-dev vite
 &lt;/script>
 				</code>
 				<p>
-					Don't forget to replace <i>&lt;version&gt;</i> with an actual version of three.js, like <i>"v0.149.0"</i>. The most recent version can be found on the [link:https://www.npmjs.com/package/three?activeTab=versions npm version list]. Because import maps are [link:https://caniuse.com/import-maps not yet supported] by some major browsers, we include the polyfill <i>es-module-shims.js</i>.
+					Don't forget to replace <i>&lt;version&gt;</i> with an actual version of three.js, like <i>"v0.149.0"</i>. The most recent version can be found on the [link:https://www.npmjs.com/package/three?activeTab=versions npm version list].
 				</p>
 			</li>
 			<li>

+ 0 - 8
docs/manual/fr/introduction/Installation.html

@@ -68,8 +68,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 		  {
 		    "imports": {
@@ -87,10 +85,6 @@
 		&lt;/script>
 		</code>
 
-		<p>
-			Étant donné que les Import maps ne sont pas encore supportées par tous les navigateurs, il est nécessaire d'ajouter le polyfill *es-module-shims.js*.
-		</p>
-
 		<h2>Addons</h2>
 
 		<p>
@@ -113,8 +107,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {

+ 0 - 8
docs/manual/it/introduction/Installation.html

@@ -69,8 +69,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 		  {
 		    "imports": {
@@ -88,10 +86,6 @@
 		&lt;/script>
 		</code>
 
-		<p>
-      Poiché le mappe di importazione non sono ancora supportate da tutti i browser, è necessario aggiungere il polyfill *es-module-shims.js*.
-		</p>
-
 		<h2>Addons</h2>
 
 		<p>
@@ -113,8 +107,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {

+ 0 - 4
docs/manual/ja/introduction/Installation.html

@@ -69,8 +69,6 @@
     </p>
 
     <code>
-&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 &lt;script type="importmap">
     {
     "imports": {
@@ -110,8 +108,6 @@
     </p>
 
     <code>
-&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 &lt;script type="importmap">
     {
     "imports": {

+ 0 - 4
docs/manual/ko/introduction/Installation.html

@@ -77,8 +77,6 @@
     </p>
 
     <code>
-&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 &lt;script type="importmap">
     {
     "imports": {
@@ -122,8 +120,6 @@
     </p>
 
     <code>
-&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 &lt;script type="importmap">
     {
     "imports": {

+ 0 - 8
docs/manual/pt-br/introduction/Installation.html

@@ -53,8 +53,6 @@
 		<p>A biblioteca three.js pode ser utilizada sem nenhum sistema de build, seja fazendo o upload dos arquivos para seu próprio servidor web ou usando um CDN existente. Como a biblioteca depende dos ES modules, qualquer script que faça referência a eles deve usar <em>type="module"</em> como mostrado abaixo. Também é necessário definir um mapa de importação que resolva a importação direta do `three`.</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 		  {
 		    "imports": {
@@ -76,10 +74,6 @@
 			Nem todos os recursos disponíveis são acessados diretamente através do módulo <em>three</em>. Outras partes populares da biblioteca - tais como controls, loaders e post-processing effects - devem ser importados da subpasta [link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm examples/jsm]. Para aprender mais, veja o <em>Exemplo</em> abaixo.
 		</p>
 
-		<p>
-			Como os mapas de importação ainda não são suportados por todos os navegadores, é necessário adicionar o polyfill *es-module-shims.js*.
-		</p>
-
 		<h2>Addons</h2>
 
 		<p>
@@ -99,8 +93,6 @@
 		<p>Se o three.js foi instalado de um CDN, use o mesmo CDN para instalar outros componentes:</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {

+ 0 - 8
docs/manual/ru/introduction/Installation.html

@@ -92,8 +92,6 @@
 	</p>
 
 	<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 		{
 			"imports": {
@@ -111,10 +109,6 @@
 		&lt;/script>
 	</code>
 
-	<p>
-		Поскольку импорт карт еще не поддерживается всеми браузерами, необходимо добавить полифил *es-module-shims.js*.
-	</p>
-
 	<h2>Дополнения</h2>
 
 	<p>
@@ -143,8 +137,6 @@
 	</p>
 
 	<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 		{
 			"imports": {

+ 0 - 4
docs/manual/zh/introduction/Installation.html

@@ -67,8 +67,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {
@@ -108,8 +106,6 @@
 		</p>
 
 		<code>
-		&lt;script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js">&lt;/script>
-
 		&lt;script type="importmap">
 			{
 			"imports": {

+ 0 - 5
docs/scenes/bones-browser.html

@@ -22,11 +22,6 @@
 		</style>
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
docs/scenes/ccdiksolver-browser.html

@@ -22,11 +22,6 @@
 		</style>
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 1 - 6
docs/scenes/geometry-browser.html

@@ -22,11 +22,6 @@
 		</style>
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {
@@ -758,7 +753,7 @@
 			lights[ 0 ] = new DirectionalLight( 0xffffff, 3 );
 			lights[ 1 ] = new DirectionalLight( 0xffffff, 3 );
 			lights[ 2 ] = new DirectionalLight( 0xffffff, 3 );
-			
+
 			lights[ 0 ].position.set( 0, 200, 0 );
 			lights[ 1 ].position.set( 100, 200, 100 );
 			lights[ 2 ].position.set( - 100, - 200, - 100 );

+ 0 - 5
docs/scenes/material-browser.html

@@ -22,11 +22,6 @@
 		</style>
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
editor/index.html

@@ -45,10 +45,6 @@
 		<script src="js/libs/tern-threejs/threejs.js"></script>
 		<script src="js/libs/signals.min.js"></script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="js/libs/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

File diff suppressed because it is too large
+ 0 - 391
editor/js/libs/es-module-shims.js


+ 0 - 1
editor/sw.js

@@ -90,7 +90,6 @@ const assets = [
 	'./js/libs/codemirror/mode/javascript.js',
 	'./js/libs/codemirror/mode/glsl.js',
 
-	'./js/libs/es-module-shims.js',
 	'./js/libs/esprima.js',
 	'./js/libs/ffmpeg.min.js',
 	'./js/libs/jsonlint.js',

+ 0 - 4
examples/css2d_label.html

@@ -17,10 +17,6 @@
 	<body>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> css2d - label</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/css3d_molecules.html

@@ -22,10 +22,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - molecules</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/css3d_orthographic.html

@@ -20,10 +20,6 @@
 	<body>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - orthographic</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/css3d_periodictable.html

@@ -91,10 +91,6 @@
 			<button id="grid">GRID</button>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/css3d_sandbox.html

@@ -16,10 +16,6 @@
 	<body>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - sandbox</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/css3d_sprites.html

@@ -20,10 +20,6 @@
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - sprites</div>
 		<div id="container"></div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/css3d_youtube.html

@@ -23,10 +23,6 @@
 		<div id="container"></div>
 		<div id="blocker"></div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/games_fps.html

@@ -14,10 +14,6 @@
 		</div>
 		<div id="container"></div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_animation_groups.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - animation - groups
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_animation_keys.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - animation - basic use
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_boxselection.html

@@ -29,10 +29,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - box selection
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_arcball.html

@@ -14,10 +14,6 @@
 			<a href="http://www.polycount.com/forum/showthread.php?t=130641" target="_blank" rel="noopener">Cerberus(FFVII Gun) model</a> by Andrew Maximov.
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_drag.html

@@ -23,10 +23,6 @@
 			Grouped objects can be transformed as a union.
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_fly.html

@@ -27,10 +27,6 @@
 		<b>WASD</b> move, <b>R|F</b> up | down, <b>Q|E</b> roll, <b>up|down</b> pitch, <b>left|right</b> yaw
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_map.html

@@ -22,10 +22,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - map controls
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_orbit.html

@@ -22,10 +22,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - orbit controls
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_pointerlock.html

@@ -42,10 +42,6 @@
 			</div>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_trackball.html

@@ -22,10 +22,6 @@
 			MOVE mouse &amp; press LEFT/A: rotate, MIDDLE/S: zoom, RIGHT/D: pan
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_controls_transform.html

@@ -16,10 +16,6 @@
 			"C" toggle camera | "V" random zoom
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_draco.html

@@ -13,10 +13,6 @@
 
 		<script src="jsm/libs/draco/draco_encoder.js"></script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_exr.html

@@ -11,10 +11,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - exporter - exr
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_gltf.html

@@ -11,10 +11,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - exporter - gltf
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_obj.html

@@ -11,10 +11,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - exporter - obj
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_ply.html

@@ -11,10 +11,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - exporter - ply
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_stl.html

@@ -11,10 +11,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - exporter - stl
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_exporter_usdz.html

@@ -35,10 +35,6 @@
 			<img id="button" width="100" src="files/arkit.png">
 		</a>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/misc_lookat.html

@@ -19,10 +19,6 @@
 	<body>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - Object3D.lookAt() example</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
examples/misc_uv_tests.html

@@ -23,11 +23,6 @@
 	</head>
 
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/physics_ammo_break.html

@@ -17,10 +17,6 @@
 
 	<script src="jsm/libs/ammo.wasm.js"></script>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/physics_ammo_cloth.html

@@ -16,10 +16,6 @@
 
 		<script src="jsm/libs/ammo.wasm.js"></script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/physics_ammo_instancing.html

@@ -14,10 +14,6 @@
 
 		<script src="jsm/libs/ammo.wasm.js"></script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/physics_ammo_rope.html

@@ -16,10 +16,6 @@
 
 	<script src="jsm/libs/ammo.wasm.js"></script>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/physics_ammo_terrain.html

@@ -17,10 +17,6 @@
 
 		<script src="jsm/libs/ammo.wasm.js"></script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/physics_ammo_volume.html

@@ -19,10 +19,6 @@
 
 		<script src="jsm/libs/ammo.wasm.js"></script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/physics_rapier_instancing.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> physics - rapier3d instancing
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/svg_lines.html

@@ -17,10 +17,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> svg - lines
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
examples/svg_sandbox.html

@@ -12,11 +12,6 @@
 		</style>
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webaudio_orientation.html

@@ -22,10 +22,6 @@
 		music by <a href="http://www.newgrounds.com/audio/listen/376737" target="_blank" rel="noopener noreferrer">skullbeatz</a>
 	</div>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/webaudio_sandbox.html

@@ -30,10 +30,6 @@
 			navigate with WASD / arrows / mouse
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webaudio_timing.html

@@ -17,10 +17,6 @@
 		sound effect by <a href="https://freesound.org/people/michorvath/sounds/269718/" target="_blank" rel="noopener noreferrer">michorvath</a>
 	</div>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/webaudio_visualizer.html

@@ -51,10 +51,6 @@
 			music by <a href="http://www.newgrounds.com/audio/listen/376737" target="_blank" rel="noopener">skullbeatz</a>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_buffergeometry_attributes_integer.html

@@ -44,10 +44,6 @@
 			}
 		</script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_buffergeometry_attributes_none.html

@@ -80,10 +80,6 @@
 			}
 		</script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_materials_texture2darray.html

@@ -51,10 +51,6 @@
 			<a href="https://www.codeproject.com/info/cpol10.aspx" target="_blank" rel="noopener">CPOL</a>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_materials_texture3d.html

@@ -13,10 +13,6 @@
 	</div>
 	<div id="inset"></div>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/webgl2_materials_texture3d_partialupdate.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl2 - volume - cloud
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 1 - 5
examples/webgl2_multiple_rendertargets.html

@@ -80,7 +80,7 @@
 
 			vec4 LinearTosRGB( in vec4 value ) {
 				return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );
-			}	
+			}
 
 			layout(location = 0) out vec4 pc_FragColor;
 
@@ -108,10 +108,6 @@
 			<a href="https://threejs.org" target="_blank">threejs</a> webgl - Multiple RenderTargets
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_multisampled_renderbuffers.html

@@ -33,10 +33,6 @@
 		<div id="container">
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_rendertarget_texture2darray.html

@@ -95,10 +95,6 @@
 			<a href="https://www.codeproject.com/info/cpol10.aspx" target="_blank" rel="noopener">CPOL</a>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_texture2darray_compressed.html

@@ -49,10 +49,6 @@
 			by the <a href="https://www.ghibli.jp/" target="_blank" rel="noopener">Studio Ghibli</a><br />
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 2 - 6
examples/webgl2_ubo.html

@@ -49,7 +49,7 @@
 
 			vec4 LinearTosRGB( in vec4 value ) {
 				return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );
-			}	
+			}
 
 			uniform LightingData {
 				vec3 position;
@@ -129,7 +129,7 @@
 
 			vec4 LinearTosRGB( in vec4 value ) {
 				return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );
-			}			
+			}
 
 			uniform sampler2D diffuseMap;
 
@@ -173,10 +173,6 @@
 
 		</script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl2_volume_cloud.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl2 - volume - cloud
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 1 - 5
examples/webgl2_volume_instancing.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl2 - volume - instancing
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {
@@ -235,7 +231,7 @@
 			function animate() {
 
 				requestAnimationFrame( animate );
-			
+
 				const delta = clock.getDelta();
 				controls.update( delta );
 

+ 0 - 4
examples/webgl2_volume_perlin.html

@@ -12,10 +12,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl2 - volume
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_animation_keyframes.html

@@ -27,10 +27,6 @@
 			<a href="https://artstation.com/glenatron" target="_blank" rel="noopener">Glen Fox</a>, CC Attribution.
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_animation_multiple.html

@@ -12,10 +12,6 @@
 			Soldier model from <a href="https://www.mixamo.com" target="_blank" rel="noopener">https://www.mixamo.com</a>.
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_animation_skinning_additive_blending.html

@@ -21,10 +21,6 @@
 			(model from <a href="https://www.mixamo.com/" target="_blank" rel="noopener">mixamo.com</a>)<br/>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_animation_skinning_blending.html

@@ -19,10 +19,6 @@
 			Note: crossfades are possible with blend weights being set to (1,0,0), (0,1,0) or (0,0,1)
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 1 - 5
examples/webgl_animation_skinning_ik.html

@@ -19,10 +19,6 @@
 			Character model by <a href="https://assetstore.unity.com/packages/3d/characters/humanoids/humans/kira-lowpoly-character-100303" target="_blank" rel="noopener">Aki</a>, furnitures from <a href="https://poly.pizza" target="_blank" rel="noopener">poly.pizza</a>, scene by <a href="https://abernier.name/three.js/examples/webgl_esher.html" target="_blank" rel="noopener">abernier</a>. CC0.
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 		{
 			"imports": {
@@ -123,7 +119,7 @@
 			transformControls.space = 'world';
 			transformControls.attach( OOI.target_hand_l );
 			scene.add( transformControls );
-		
+
 			// disable orbitControls while using transformControls
 			transformControls.addEventListener( 'mouseDown', () => orbitControls.enabled = false );
 			transformControls.addEventListener( 'mouseUp', () => orbitControls.enabled = true );

+ 0 - 4
examples/webgl_animation_skinning_morph.html

@@ -34,10 +34,6 @@
 			modifications by <a href="https://donmccurdy.com/" target="_blank" rel="noopener">Don McCurdy</a>. CC0.<br />
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_compression.html

@@ -12,10 +12,6 @@
 			Octahedron and Quantization encoding methods from Tarek Sherif
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_custom_attributes_particles.html

@@ -46,10 +46,6 @@
 
 		</script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_drawrange.html

@@ -14,10 +14,6 @@
 			by <a href="https://twitter.com/fernandojsg">fernandojsg</a>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_glbufferattribute.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - custom VBOs</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_indexed.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - indexed</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_instancing.html

@@ -66,10 +66,6 @@
 
 	</script>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/webgl_buffergeometry_instancing_billboards.html

@@ -70,10 +70,6 @@
 		}
 	</script>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/webgl_buffergeometry_instancing_interleaved.html

@@ -14,10 +14,6 @@
 		<div id="notSupported" style="display:none">Sorry your graphics card + browser does not support hardware instancing</div>
 	</div>
 
-	<!-- Import maps polyfill -->
-	<!-- Remove this when import maps will be widely supported -->
-	<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 	<script type="importmap">
 		{
 			"imports": {

+ 0 - 4
examples/webgl_buffergeometry_lines.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - lines</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_lines_indexed.html

@@ -12,10 +12,6 @@
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - lines - indexed</div>
 
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_points.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - particles</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_points_interleaved.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - particles</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_rawshader.html

@@ -57,10 +57,6 @@
 
 		</script>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_selective_draw.html

@@ -46,10 +46,6 @@
 			<div id="ui"><a href="#" id="hideLines">CULL SOME LINES</a> - <a href="#" id="showAllLines">SHOW ALL LINES</a></div>
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_buffergeometry_uint.html

@@ -11,10 +11,6 @@
 		<div id="container"></div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - uint</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_camera.html

@@ -16,10 +16,6 @@
 		<b>O</b> orthographic <b>P</b> perspective
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
examples/webgl_camera_array.html

@@ -7,11 +7,6 @@
 		<link type="text/css" rel="stylesheet" href="main.css">
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_camera_cinematic.html

@@ -21,10 +21,6 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - interactive cubes
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_camera_logarithmicdepthbuffer.html

@@ -62,10 +62,6 @@
 			mousewheel to dolly out
 		</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
examples/webgl_clipping.html

@@ -7,11 +7,6 @@
 		<link type="text/css" rel="stylesheet" href="main.css">
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
examples/webgl_clipping_advanced.html

@@ -7,11 +7,6 @@
 		<link type="text/css" rel="stylesheet" href="main.css">
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 5
examples/webgl_clipping_intersection.html

@@ -7,11 +7,6 @@
 		<link type="text/css" rel="stylesheet" href="main.css">
 	</head>
 	<body>
-
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

+ 0 - 4
examples/webgl_clipping_stencil.html

@@ -10,10 +10,6 @@
 
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - solid geometry with clip planes and stencil materials</div>
 
-		<!-- Import maps polyfill -->
-		<!-- Remove this when import maps will be widely supported -->
-		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
-
 		<script type="importmap">
 			{
 				"imports": {

Some files were not shown because too many files changed in this diff