Skip to content

Commit faaca2b

Browse files
committed
Bump documentation to 0.9.0
1 parent f0a9855 commit faaca2b

13 files changed

+40
-40
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ and publishing now, remix the starter example on Glitch:
102102
```html
103103
<html>
104104
<head>
105-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
105+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
106106
</head>
107107
<body>
108108
<a-scene>
@@ -117,7 +117,7 @@ and publishing now, remix the starter example on Glitch:
117117
```
118118

119119
With A-Frame's [entity-component
120-
architecture](https://aframe.io/docs/0.8.2/core/), we can drop in community
120+
architecture](https://aframe.io/docs/0.9.0/core/), we can drop in community
121121
components from the ecosystem (e.g., ocean, physics) and plug them into our
122122
objects straight from HTML:
123123

@@ -126,7 +126,7 @@ objects straight from HTML:
126126
```html
127127
<html>
128128
<head>
129-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
129+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
130130
<script src="https://unpkg.com/aframe-animation-component@3.2.1/dist/aframe-animation-component.min.js"></script>
131131
<script src="https://unpkg.com/aframe-particle-system-component@1.0.x/dist/aframe-particle-system-component.min.js"></script>
132132
<script src="https://unpkg.com/aframe-extras.ocean@%5E3.5.x/dist/aframe-extras.ocean.min.js"></script>
@@ -158,11 +158,11 @@ objects straight from HTML:
158158

159159
### Builds
160160

161-
To use the latest stable build of A-Frame, include [`aframe.min.js`](https://aframe.io/releases/0.8.2/aframe.min.js):
161+
To use the latest stable build of A-Frame, include [`aframe.min.js`](https://aframe.io/releases/0.9.0/aframe.min.js):
162162

163163
```js
164164
<head>
165-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
165+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
166166
</head>
167167
```
168168

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/0.8.2/aframe.min.js"></script>
37+
<script src="https://aframe.io/releases/0.9.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
@@ -354,7 +354,7 @@ Let's walk through an [example CodePen][example] with step-by-step commentary.
354354
As always, we need to include the A-Frame script.
355355

356356
```js
357-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
357+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
358358
```
359359

360360
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
@@ -178,7 +178,7 @@ Lastly, you should specify the character set used in your HTML by using `<meta>`
178178
<html>
179179
<head>
180180
<meta charset="UTF-8">
181-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
181+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
182182
</head>
183183
<body>
184184
<a-scene>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ need to know the component's npm package name and the path:
160160
<html>
161161
<head>
162162
<title>360° Image Browser</title>
163-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
163+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
164164
<script src="https://unpkg.com/aframe-template-component@3.x.x/dist/aframe-template-component.min.js"></script>
165165
<script src="https://unpkg.com/aframe-layout-component@3.x.x/dist/aframe-layout-component.min.js"></script>
166166
<script src="https://unpkg.com/aframe-event-set-component@3.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
@@ -42,7 +42,7 @@ We start out with a minimal HTML structure:
4242
```html
4343
<html>
4444
<head>
45-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
45+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
4646
</head>
4747
<body>
4848
<a-scene>
@@ -230,7 +230,7 @@ First, include the environment component using a script tag after A-Frame:
230230

231231
```html
232232
<head>
233-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
233+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
234234
<script src="https://unpkg.com/aframe-environment-component/dist/aframe-environment-component.min.js"></script>
235235
</head>
236236
```

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

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

2828
```html
29-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
29+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
3030

3131
<body>
3232
<a-scene>
@@ -49,7 +49,7 @@ our assets, and create a thin cylinder entity pointing to that texture:
4949
<p data-height="265" data-theme-id="dark" data-slug-hash="MpbXXe" data-default-tab="html,result" data-user="mozvr" data-embed-version="2" data-pen-title="Minecraft VR Demo (Part 1)" data-preview="true" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/mozvr/pen/MpbXXe/">Minecraft VR Demo (Part 1)</a> by mozvr (<a href="http://codepen.io/mozvr">@mozvr</a>) on <a href="http://codepen.io">CodePen</a>.</p>
5050

5151
```html
52-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
52+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
5353

5454
<a-scene>
5555
<a-cylinder id="ground" src="https://cdn.aframe.io/a-painter/images/floor.jpg" radius="32" height="0.1"></a-cylinder>
@@ -58,7 +58,7 @@ our assets, and create a thin cylinder entity pointing to that texture:
5858

5959
### Preloading Assets
6060

61-
[assets]: https://aframe.io/docs/0.8.2/core/asset-management-system.html
61+
[assets]: https://aframe.io/docs/0.9.0/core/asset-management-system.html
6262

6363
Specifying a URL via the `src` attribute will load the texture at runtime.
6464
Since network requests can negatively impact render performance, we can
@@ -76,7 +76,7 @@ Let's move our ground texture to `<a-assets>` to be preloaded using an
7676
<p data-height="265" data-theme-id="dark" data-slug-hash="LWbrBQ" data-default-tab="html,result" data-user="mozvr" data-embed-version="2" data-pen-title="Minecraft VR Demo (Part 2: Preloading Texture)" data-preview="true" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/mozvr/pen/LWbrBQ/">Minecraft VR Demo (Part 2: Preloading Texture)</a> by mozvr (<a href="http://codepen.io/mozvr">@mozvr</a>) on <a href="http://codepen.io">CodePen</a>.</p>
7777

7878
```html
79-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
79+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
8080

8181
<a-scene>
8282
<a-assets>
@@ -89,7 +89,7 @@ Let's move our ground texture to `<a-assets>` to be preloaded using an
8989

9090
## Adding a Background
9191

92-
[a-sky]: https://aframe.io/docs/0.8.2/primitives/a-sky.html
92+
[a-sky]: https://aframe.io/docs/0.9.0/primitives/a-sky.html
9393
[flickr]: https://www.flickr.com/groups/equirectangular/
9494

9595
[gradient]: https://github.com/zcanter/aframe-gradient-sky
@@ -112,7 +112,7 @@ to match the ground:
112112
<p data-height="265" data-theme-id="dark" data-slug-hash="PpbaBL" data-default-tab="html,result" data-user="mozvr" data-embed-version="2" data-pen-title="Minecraft VR Demo (Part 3: Adding a Background)" data-preview="true" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/mozvr/pen/PpbaBL/">Minecraft VR Demo (Part 3: Adding a Background)</a> by mozvr (<a href="http://codepen.io/mozvr">@mozvr</a>) on <a href="http://codepen.io">CodePen</a>.</p>
113113

114114
```html
115-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
115+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
116116

117117
<a-scene>
118118
<a-assets>
@@ -140,15 +140,15 @@ from scratch.
140140

141141
### Entity-Component Pattern
142142

143-
[entity]: https://aframe.io/docs/0.8.2/core/entity.html
143+
[entity]: https://aframe.io/docs/0.9.0/core/entity.html
144144

145145
Every single object in an A-Frame scene is [`<a-entity>`][entity], which by itself
146146
doesn't do anything, like an empty `<div>`. We plug in components (**not to be
147147
confused with Web or React Components**) to that entity to provide with
148148
appearance, behavior , and logic.
149149

150-
[geometry]: https://aframe.io/docs/0.8.2/components/geometry.html
151-
[material]: https://aframe.io/docs/0.8.2/components/material.html
150+
[geometry]: https://aframe.io/docs/0.9.0/components/geometry.html
151+
[material]: https://aframe.io/docs/0.9.0/components/material.html
152152

153153
For a box, we attach and configure A-Frame's basic [geometry] and [material]
154154
components. Components are represented as HTML attributes, and component
@@ -190,7 +190,7 @@ AFRAME.registerComponent('random-color', {
190190
});
191191
```
192192

193-
[js]: https://aframe.io/docs/0.8.2/guides/using-javascript-and-dom-apis.html
193+
[js]: https://aframe.io/docs/0.9.0/guides/using-javascript-and-dom-apis.html
194194

195195
For the random color component, we want to set a random color on the entity
196196
that this component is attached to. Components have a reference to the entity
@@ -237,7 +237,7 @@ and include it before the scene:
237237
<p data-height="265" data-theme-id="dark" data-slug-hash="ryWKqy" data-default-tab="html,result" data-user="mozvr" data-embed-version="2" data-pen-title="Minecraft VR Demo (Part 4: Random Color Component)" data-preview="true" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/mozvr/pen/ryWKqy/">Minecraft VR Demo (Part 4: Random Color Component)</a> by mozvr (<a href="http://codepen.io/mozvr">@mozvr</a>) on <a href="http://codepen.io">CodePen</a>.</p>
238238

239239
```html
240-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
240+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
241241
<script src="components/random-color.js"></script>
242242

243243
<a-scene>
@@ -300,7 +300,7 @@ to describe all the voxels in our scene.
300300

301301
### Mixins
302302

303-
[mixin]: https://aframe.io/docs/0.8.2/core/mixins.html
303+
[mixin]: https://aframe.io/docs/0.9.0/core/mixins.html
304304

305305
We can create [a mixin][mixin] to define a reusable bundle of components.
306306
Instead of `<a-entity>`, which adds an object to the scene, we'll describe it
@@ -309,7 +309,7 @@ using `<a-mixin>` which can be reused to create voxels like a prefab:
309309
<p data-height="265" data-theme-id="dark" data-slug-hash="OpbEaY" data-default-tab="html,result" data-user="mozvr" data-embed-version="2" data-pen-title="Minecraft VR Demo (Part 5: Mixins)" data-preview="true" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/mozvr/pen/OpbEaY/">Minecraft VR Demo (Part 5: Mixins)</a> by mozvr (<a href="http://codepen.io/mozvr">@mozvr</a>) on <a href="http://codepen.io">CodePen</a>.</p>
310310

311311
```html
312-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
312+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
313313
<script src="components/random-color.js"></script>
314314
<script src="components/snap.js"></script>
315315

@@ -392,7 +392,7 @@ add the component via a `<script>` tag and just set the `teleport-controls`
392392
component on the controller on the entity:
393393

394394
```html
395-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
395+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
396396
<script src="https://unpkg.com/aframe-teleport-controls@0.2.x/dist/aframe-teleport-controls.min.js"></script>
397397

398398
<!-- ... -->
@@ -429,7 +429,7 @@ that attaches the clicking laser to VR tracked controllers. Like the
429429
`laser-controls` component. This time to the right hand:
430430

431431
```html
432-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
432+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
433433
<script src="https://unpkg.com/aframe-teleport-controls@0.2.x/dist/aframe-teleport-controls.min.js"></script>
434434

435435
<!-- ... -->

docs/introduction/entity-component-system.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ Now we can include it into our HTML:
429429
```html
430430
<html>
431431
<head>
432-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
432+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
433433
<script src="https://unpkg.com/aframe-particle-system-component@1.0.9/dist/aframe-particle-system-component.min.js"></script>
434434
</head>
435435
<body>
@@ -450,7 +450,7 @@ Now we can include it into our HTML:
450450
```html
451451
<html>
452452
<head>
453-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
453+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
454454
<script src="https://unpkg.com/aframe-particle-system-component@1.0.9/dist/aframe-particle-system-component.min.js"></script>
455455
</head>
456456
<body>
@@ -474,7 +474,7 @@ Glitch][glitch].
474474
```html
475475
<html>
476476
<head>
477-
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
477+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
478478
<script src="https://unpkg.com/aframe-animation-component@3.2.1/dist/aframe-animation-component.min.js"></script>
479479
<script src="https://unpkg.com/aframe-particle-system-component@1.0.x/dist/aframe-particle-system-component.min.js"></script>
480480
<script src="https://unpkg.com/aframe-extras.ocean@%5E3.5.x/dist/aframe-extras.ocean.min.js"></script>

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/0.8.2/aframe.min.js"></script>
62+
<script src="https://aframe.io/releases/0.9.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/0.8.2/aframe.min.js"></script>
133+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
134134
<script src="https://unpkg.com/aframe-physics-system@1.4.0/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/0.8.2/aframe.min.js"></script>
30+
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
3131
</head>
3232
<body>
3333
<a-scene>

0 commit comments

Comments
 (0)