Skip to content

Commit 781b6ab

Browse files
committed
Bump docs
1 parent 96ebd2c commit 781b6ab

13 files changed

+36
-36
lines changed

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

365365
```js
366-
<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
366+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
367367
```
368368

369369
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/1.0.3/aframe.min.js"></script>
181+
<script src="https://aframe.io/releases/1.0.4/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
@@ -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.0.3/aframe.min.js"></script>
169+
<script src="https://aframe.io/releases/1.0.4/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@4.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.0.3/aframe.min.js"></script>
43+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
4444
</head>
4545
<body>
4646
<a-scene>
@@ -228,7 +228,7 @@ First, include the environment component using a script tag after A-Frame:
228228

229229
```html
230230
<head>
231-
<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
231+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
232232
<script src="https://unpkg.com/aframe-environment-component/dist/aframe-environment-component.min.js"></script>
233233
</head>
234234
```

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/1.0.3/aframe.min.js"></script>
29+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/aframe.min.js"></script>
52+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/core/asset-management-system.html
61+
[assets]: https://aframe.io/docs/1.0.4/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/1.0.3/aframe.min.js"></script>
79+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/primitives/a-sky.html
92+
[a-sky]: https://aframe.io/docs/1.0.4/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/1.0.3/aframe.min.js"></script>
115+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/core/entity.html
143+
[entity]: https://aframe.io/docs/1.0.4/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/1.0.3/components/geometry.html
151-
[material]: https://aframe.io/docs/1.0.3/components/material.html
150+
[geometry]: https://aframe.io/docs/1.0.4/components/geometry.html
151+
[material]: https://aframe.io/docs/1.0.4/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/1.0.3/guides/using-javascript-and-dom-apis.html
193+
[js]: https://aframe.io/docs/1.0.4/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/1.0.3/aframe.min.js"></script>
240+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/core/mixins.html
303+
[mixin]: https://aframe.io/docs/1.0.4/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/1.0.3/aframe.min.js"></script>
312+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/aframe.min.js"></script>
395+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/aframe.min.js"></script>
432+
<script src="https://aframe.io/releases/1.0.4/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
@@ -418,7 +418,7 @@ Now we can include it into our HTML:
418418
```html
419419
<html>
420420
<head>
421-
<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
421+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
422422
<script src="https://unpkg.com/aframe-particle-system-component@1.0.9/dist/aframe-particle-system-component.min.js"></script>
423423
</head>
424424
<body>
@@ -439,7 +439,7 @@ Now we can include it into our HTML:
439439
```html
440440
<html>
441441
<head>
442-
<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
442+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
443443
<script src="https://unpkg.com/aframe-particle-system-component@1.0.9/dist/aframe-particle-system-component.min.js"></script>
444444
</head>
445445
<body>
@@ -463,7 +463,7 @@ Glitch][glitch].
463463
```html
464464
<html>
465465
<head>
466-
<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
466+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
467467
<script src="https://unpkg.com/aframe-animation-component@3.2.1/dist/aframe-animation-component.min.js"></script>
468468
<script src="https://unpkg.com/aframe-particle-system-component@1.0.x/dist/aframe-particle-system-component.min.js"></script>
469469
<script src="https://unpkg.com/aframe-extras.ocean@%5E3.5.x/dist/aframe-extras.ocean.min.js"></script>

docs/introduction/faq.md

Lines changed: 1 addition & 1 deletion
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.0.3 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.0.4 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

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.0.3/aframe.min.js"></script>
62+
<script src="https://aframe.io/releases/1.0.4/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.0.3/aframe.min.js"></script>
133+
<script src="https://aframe.io/releases/1.0.4/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/1.0.3/aframe.min.js"></script>
30+
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
3131
</head>
3232
<body>
3333
<a-scene>

0 commit comments

Comments
 (0)