Skip to content

Commit aaad984

Browse files
committed
Last commit before release
1 parent c6661e2 commit aaad984

File tree

12 files changed

+22
-16
lines changed

12 files changed

+22
-16
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 3.3.3
2+
3+
- Fixed bug which prevents `minDistance` and `maxDistance` working with a simulated location
4+
5+
- Fixed typo in name of `gps-entity-place-update-position` event
6+
17
# 3.3.2
28

39
- Fixed bug in `arjs-webcam-texture component` which caused the webcam stream to freeze on iOS. Thanks to @stevenlybeck for this.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Please import the one you need for your project, not both:
5757
You can also import a specific version replacing `master` keyword with version tag:
5858

5959
```html
60-
<script src="https://raw.githack.com/AR-js-org/AR.js/3.3.2/aframe/build/aframe-ar-nft.js">
60+
<script src="https://raw.githack.com/AR-js-org/AR.js/3.3.3/aframe/build/aframe-ar-nft.js">
6161
```
6262
6363
## Get started

aframe/build/aframe-ar-location-only.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ AFRAME.registerComponent('gps-entity-place', {
11681168

11691169
this.el.setAttribute('distance', distanceForMsg);
11701170
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));
1171-
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
1171+
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));
11721172

11731173
var actualDistance = this._cameraGps.computeDistanceMeters(ev.detail.position, dstCoords, true);
11741174

@@ -1807,7 +1807,7 @@ AFRAME.registerComponent('gps-projected-entity-place', {
18071807
this.el.setAttribute('distance', distanceForMsg);
18081808
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));
18091809

1810-
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
1810+
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));
18111811

18121812
var actualDistance = this._cameraGps.computeDistanceMeters(dstCoords, true);
18131813

aframe/build/aframe-ar-nft.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aframe/build/aframe-ar.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aframe/src/location-based/gps-entity-place.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ AFRAME.registerComponent('gps-entity-place', {
4343

4444
this.el.setAttribute('distance', distanceForMsg);
4545
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));
46-
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
46+
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));
4747

4848
var actualDistance = this._cameraGps.computeDistanceMeters(ev.detail.position, dstCoords, true);
4949

aframe/src/location-based/gps-projected-entity-place.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ AFRAME.registerComponent('gps-projected-entity-place', {
6666
this.el.setAttribute('distance', distanceForMsg);
6767
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));
6868

69-
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
69+
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));
7070

7171
var actualDistance = this._cameraGps.computeDistanceMeters(dstCoords, true);
7272

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ar.js",
3-
"version": "3.3.2",
3+
"version": "3.3.3",
44
"description": "Efficient Augmented Reality for the Web",
55
"main": "./aframe/build/aframe-ar.js",
66
"scripts": {

three.js/build/ar-nft.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

three.js/build/ar.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)