Skip to content

Commit 67418ad

Browse files
committed
link to old version
1 parent 524bcda commit 67418ad

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

threejs/lessons/threejs-fundamentals.md

+8
Original file line numberDiff line numberDiff line change
@@ -394,4 +394,12 @@ import {OrbitControls} from './someFolder/examples/jsm/controls/OrbitControls.js
394394
import * as THREE from 'https://unpkg.com/[email protected]/<b>build/three.module.js</b>';
395395
import {OrbitControls} from 'https://unpkg.com/[email protected]/examples/jsm/controls/OrbitControls.js';
396396
</pre>
397+
<p>If you'd prefer the old <code>&lt;script src="path/to/three.js"&gt;&lt;/script&gt;</code> style
398+
you can check out <a href="https://r105.threejsfundamentals.org">an older version of this site</a>.
399+
Three.js has a policy of not worrying about backward compatibility. They expect you to use a specific
400+
version, as in you're expected to download the code and put it in your project. When upgrading to a newer version
401+
you can read the <a href="https://github.com/mrdoob/three.js/wiki/Migration-Guide">migration guide</a> to
402+
see what you need to change. It would be too much work to maintain both an es6 module and a class script
403+
version of this site so going forward this site will only show es6 module style. As stated elsewhere,
404+
to support legacy browsers look into a <a href="https://babeljs.io">transpiler</a>.</p>
397405
</div>

0 commit comments

Comments
 (0)