Skip to content

Commit

Permalink
use 0.10.0 in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Jun 16, 2022
1 parent f91f078 commit 718ba51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -75,7 +75,7 @@ Basic Example
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.4.0/socket.io.slim.js"></script>
<script src="/easyrtc/easyrtc.js"></script>
<script src="https://unpkg.com/networked-aframe@^0.9.0/dist/networked-aframe.min.js"></script>
<script src="https://unpkg.com/networked-aframe@^0.10.0/dist/networked-aframe.min.js"></script>
</head>
<body>
<a-scene networked-scene>
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started-local.md
Expand Up @@ -36,7 +36,7 @@ Now let's setup the required dependencies. Create a file called `package.json` a
},
"author": "YOUR_NAME",
"dependencies": {
"networked-aframe": "^0.9.0"
"networked-aframe": "^0.10.0"
}
}
```
Expand Down Expand Up @@ -113,7 +113,7 @@ Here's the template we'll start with:
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.4.0/socket.io.slim.js"></script>
<script src="/easyrtc/easyrtc.js"></script>
<script src="https://unpkg.com/networked-aframe@^0.9.0/dist/networked-aframe.min.js"></script>
<script src="https://unpkg.com/networked-aframe@^0.10.0/dist/networked-aframe.min.js"></script>
</head>
<body>
<a-scene></a-scene>
Expand All @@ -122,8 +122,8 @@ Here's the template we'll start with:
```

Please don't use `https://unpkg.com/networked-aframe/dist/networked-aframe.min.js` for production, this will download the latest major release that may contain breaking changes.
It's ok for a testing environment to specify "@^0.9.0" in the url so it downloads the latest minor version that shouldn't have breaking changes.
For production you want to pin to a specific version like `https://unpkg.com/networked-aframe@0.9.0/dist/networked-aframe.min.js`.
It's ok for a testing environment to specify "@^0.10.0" in the url so it downloads the latest minor version that shouldn't have breaking changes.
For production you want to pin to a specific version like `https://unpkg.com/networked-aframe@0.10.0/dist/networked-aframe.min.js`.

If you want to use a more recent build from github master that is not released yet, you can use:

Expand Down

0 comments on commit 718ba51

Please sign in to comment.