Skip to content

Commit 77f0513

Browse files
committed
Update docs
1 parent c315c55 commit 77f0513

12 files changed

Lines changed: 35 additions & 35 deletions

docs/components/embedded.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ a-scene {
3434

3535
An inline example of an embedded scene:
3636

37-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
37+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
3838

3939
<style>
4040
#myEmbeddedScene {

docs/components/material.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Let's walk through an [example CodePen][example] with step-by-step commentary.
417417
As always, we need to include the A-Frame script.
418418

419419
```js
420-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
420+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
421421
```
422422

423423
Next, we define any components and shaders we need after the A-Frame

docs/components/text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Lastly, you should specify the character set used in your HTML by using `<meta>`
186186
<html>
187187
<head>
188188
<meta charset="UTF-8">
189-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
189+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
190190
</head>
191191
<body>
192192
<a-scene>

docs/guides/building-a-360-image-gallery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ need to know the component's npm package name and the path:
166166
<html>
167167
<head>
168168
<title>360° Image Browser</title>
169-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
169+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
170170
<script src="https://unpkg.com/aframe-template-component@3.x.x/dist/aframe-template-component.min.js"></script>
171171
<script src="https://unpkg.com/aframe-layout-component@5.x.x/dist/aframe-layout-component.min.js"></script>
172172
<script src="https://unpkg.com/aframe-event-set-component@5.x.x/dist/aframe-event-set-component.min.js"></script>

docs/guides/building-a-basic-scene.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ We start out with a minimal HTML structure:
4040
```html
4141
<html>
4242
<head>
43-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
43+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
4444
</head>
4545
<body>
4646
<a-scene>
@@ -223,7 +223,7 @@ First, include the environment component using a script tag after A-Frame:
223223

224224
```html
225225
<head>
226-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
226+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
227227
<script src="https://unpkg.com/aframe-environment-component@1.5.x/dist/aframe-environment-component.min.js"></script>
228228
</head>
229229
```

docs/guides/building-a-minecraft-demo.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mobile and desktop.
2525
We'll start off with this skeleton HTML:
2626

2727
```html
28-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
28+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
2929

3030
<body>
3131
<a-scene>
@@ -46,7 +46,7 @@ The texture of the ground we'll be using is hosted at
4646
our assets, and create a thin cylinder entity pointing to that texture:
4747

4848
```html
49-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
49+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
5050

5151
<a-scene>
5252
<a-cylinder id="ground" src="https://cdn.aframe.io/a-painter/images/floor.jpg" radius="32" height="0.1"></a-cylinder>
@@ -73,7 +73,7 @@ Let's move our ground texture to `<a-assets>` to be preloaded using an
7373
`<img>` element:
7474

7575
```html
76-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
76+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
7777

7878
<a-scene>
7979
<a-assets>
@@ -109,7 +109,7 @@ half with `theta-length="90"`, and we'll give our sphere a radius of 30 meters
109109
to match the ground:
110110

111111
```html
112-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
112+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
113113

114114
<a-scene>
115115
<a-assets>
@@ -234,7 +234,7 @@ to plug in the `random-color` component. We'll save the component as a JS file
234234
and include it before the scene:
235235

236236
```html
237-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
237+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
238238
<script src="components/random-color.js"></script>
239239

240240
<a-scene>
@@ -308,7 +308,7 @@ Instead of `<a-entity>`, which adds an object to the scene, we'll describe it
308308
using `<a-mixin>` which can be reused to create voxels like a prefab:
309309

310310
```html
311-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
311+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
312312
<script src="components/random-color.js"></script>
313313
<script src="components/snap.js"></script>
314314

@@ -386,7 +386,7 @@ To enable this, let's first define a `player` entity that wraps the controllers
386386
and the camera:
387387

388388
```html
389-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
389+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
390390

391391
<!-- ... -->
392392

@@ -403,7 +403,7 @@ Following the README, we add the component via a `<script>` tag and just set
403403
the `blink-controls` component on the controller on the entity:
404404

405405
```html
406-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
406+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
407407
<script src="https://cdn.jsdelivr.net/npm/aframe-blink-controls/dist/aframe-blink-controls.min.js"></script>
408408

409409
<!-- ... -->
@@ -442,7 +442,7 @@ that attaches the clicking laser to VR tracked controllers. Like the
442442
`laser-controls` component. This time to the right hand:
443443

444444
```html
445-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
445+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
446446
<script src="https://cdn.jsdelivr.net/npm/aframe-blink-controls/dist/aframe-blink-controls.min.js"></script>
447447

448448
<!-- ... -->

docs/introduction/entity-component-system.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Now we can include it into our HTML:
423423
```html
424424
<html>
425425
<head>
426-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
426+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
427427
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
428428
</head>
429429
<body>
@@ -444,7 +444,7 @@ Now we can include it into our HTML:
444444
```html
445445
<html>
446446
<head>
447-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
447+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
448448
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
449449
</head>
450450
<body>
@@ -479,7 +479,7 @@ Registry and using the JSDELIVR CDN. This example can also be viewed in the [A-
479479
<head>
480480
<title>Community Components Example</title>
481481
<meta name="description" content="Community Components Example">
482-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
482+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
483483
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
484484
<script src="https://cdn.jsdelivr.net/npm/aframe-simple-sun-sky@^1.2.2/simple-sun-sky.js"></script>
485485
<script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@7.5.0/dist/aframe-extras.min.js"></script>

docs/introduction/faq.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ use of resources, we will need deeper understanding about 3D graphics. See
6262
[release]: https://github.com/aframevr/aframe/releases
6363
[webxr]: https://immersive-web.github.io/webxr/
6464

65-
If you are using A-Frame 1.7.1 or older you probably need to update to the [latest release][release]. Browsers are migrating to the [WebXR standard][webxr] and old versions might no longer work.
65+
If you are using A-Frame 1.8.0 or older you probably need to update to the [latest release][release]. Browsers are migrating to the [WebXR standard][webxr] and old versions might no longer work.
6666

6767
You also have to serve your content over HTTPS. The WebXR API won't be available over HTTP.
6868

@@ -372,7 +372,7 @@ You can load A-Frame as an ES module using a [side effect import](https://develo
372372
<script type="importmap">
373373
{
374374
"imports": {
375-
"aframe": "https://aframe.io/releases/1.7.1/aframe.min.js",
375+
"aframe": "https://aframe.io/releases/1.8.0/aframe.min.js",
376376
}
377377
}
378378
</script>
@@ -396,7 +396,7 @@ await import('aframe');
396396
window.AFRAME.emitReady();
397397
```
398398

399-
Since version 1.7.1, A-Frame ships an ES module bundle without the three dependency.
399+
Since version 1.8.0, A-Frame ships an ES module bundle without the three dependency.
400400
Developers can import from `three` and `three/addons` and avoid the
401401
"Multiple instances of Three.js being imported." warning. Add the three dependency in the importmap like the example below.
402402
Make sure the three and A-Frame versions are compatible. See browser console (or package.json) to see what THREE version A-Frame ships with by default.
@@ -406,9 +406,9 @@ Make sure the three and A-Frame versions are compatible. See browser console (or
406406
<script type="importmap">
407407
{
408408
"imports": {
409-
"aframe": "https://aframe.io/releases/1.7.1/aframe.module.min.js",
410-
"three": "https://cdn.jsdelivr.net/npm/super-three@0.173.5/build/three.module.js",
411-
"three/addons/": "https://cdn.jsdelivr.net/npm/super-three@0.173.5/examples/jsm/",
409+
"aframe": "https://aframe.io/releases/1.8.0/aframe.module.min.js",
410+
"three": "https://cdn.jsdelivr.net/npm/super-three@0.184.0/build/three.module.js",
411+
"three/addons/": "https://cdn.jsdelivr.net/npm/super-three@0.184.0/examples/jsm/",
412412
"aframe-extras/controls": "https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@7.5.x/dist/aframe-extras.controls.min.js"
413413
}
414414
}

docs/introduction/html-and-primitives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ environment, place the camera, etc.
5959
```html
6060
<html>
6161
<head>
62-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
62+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
6363
</head>
6464
<body>
6565
<a-scene>
@@ -130,7 +130,7 @@ the physics components via HTML attributes:
130130
```html
131131
<html>
132132
<head>
133-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
133+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
134134
<script src="https://unpkg.com/@c-frame/aframe-physics-system@4.2.3/dist/aframe-physics-system.min.js"></script>
135135
</head>
136136
<body>

docs/introduction/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ free. Alternatively, create an `.html` file and include A-Frame in the
2727
```html
2828
<html>
2929
<head>
30-
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
30+
<script src="https://aframe.io/releases/1.8.0/aframe.min.js"></script>
3131
</head>
3232
<body>
3333
<a-scene>

0 commit comments

Comments
 (0)