| 1234567891011121314151617181920212223242526 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Redirecting...</title>
- <script type="text/javascript">
- // Get the part of the URL after the domain
- var path = window.location.pathname;
- // Check if it matches the old API docs pattern:
- // /docs/api/[lang]/[...any...]/[...path...]/PageName.html
- // The ".*" part will greedily match any category path.
- var match = path.match(/\/docs\/(?:api|examples)\/[^\/]+\/.*\/([^\.]+)\.html/);
- if (match && match[1]) {
- // match[1] will be "AnimationMixer" or "ColorKeyframeTrack"
- var pageName = match[1];
-
- // Construct the new URL and redirect.
- window.location.replace("https://threejs.org/docs/#" + pageName);
- }
- </script>
- </head>
- <body>
- </body>
- </html>
|