|
@@ -13,7 +13,7 @@
|
|
<link rel="stylesheet" href="../resources/lang.css">
|
|
<link rel="stylesheet" href="../resources/lang.css">
|
|
<!-- Import maps polyfill -->
|
|
<!-- Import maps polyfill -->
|
|
<!-- Remove this when import maps will be widely supported -->
|
|
<!-- Remove this when import maps will be widely supported -->
|
|
-<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script>
|
|
|
|
|
|
+<script async src="https://unpkg.com/[email protected].3/dist/es-module-shims.js"></script>
|
|
|
|
|
|
<script type="importmap">
|
|
<script type="importmap">
|
|
{
|
|
{
|
|
@@ -390,7 +390,7 @@ Note that path specifier can start only with <code class="notranslate" translate
|
|
<p>
|
|
<p>
|
|
Import maps are still unsupported in Firefox and Safari, so it is recommended to use <a href="https://github.com/guybedford/es-module-shims">an import maps polyfill</a> like so
|
|
Import maps are still unsupported in Firefox and Safari, so it is recommended to use <a href="https://github.com/guybedford/es-module-shims">an import maps polyfill</a> like so
|
|
</p>
|
|
</p>
|
|
-<pre class="prettyprint showlinemods notranslate lang-html" translate="no"><script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script></pre>
|
|
|
|
|
|
+<pre class="prettyprint showlinemods notranslate lang-html" translate="no"><script async src="https://unpkg.com/[email protected].3/dist/es-module-shims.js"></script></pre>
|
|
<p>
|
|
<p>
|
|
To import addons like <a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/controls/OrbitControls.js"><code class="notranslate" translate="no">OrbitControls.js</code></a> use the following
|
|
To import addons like <a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/controls/OrbitControls.js"><code class="notranslate" translate="no">OrbitControls.js</code></a> use the following
|
|
</p>
|
|
</p>
|
|
@@ -423,7 +423,7 @@ You can also use a CDN
|
|
<p>
|
|
<p>
|
|
To conclude, the recommended way of using three.js is
|
|
To conclude, the recommended way of using three.js is
|
|
</p>
|
|
</p>
|
|
-<pre class="prettyprint showlinemods notranslate lang-html" translate="no"><script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script>
|
|
|
|
|
|
+<pre class="prettyprint showlinemods notranslate lang-html" translate="no"><script async src="https://unpkg.com/[email protected].3/dist/es-module-shims.js"></script>
|
|
|
|
|
|
<script type="importmap">
|
|
<script type="importmap">
|
|
{
|
|
{
|