Skip to content

Commit 1b7f935

Browse files
authored
[minor release] V0.4.2 (#682)
* bumps version * bumps version in docs
1 parent c42c8e6 commit 1b7f935

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,22 @@ There are several ways you can use the ml5.js library:
2727

2828

2929

30+
3031
<p id="latest-version">
3132

32-
* You can use the latest version (0.4.1) by adding it to the head section of your HTML document:
33+
* You can use the latest version (0.4.2) by adding it to the head section of your HTML document:
3334

34-
**v0.4.1**
35+
**v0.4.2**
3536

36-
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js" type="text/javascript"></script>
37+
<script src="https://unpkg.com/[email protected].2/dist/ml5.min.js" type="text/javascript"></script>
3738

3839
</p data-id="latest-version">
3940

4041

4142

4243

4344

45+
4446

4547

4648
* If you need to use an earlier version for any reason, you can change the version number. The [previous versions of ml5 can be found here](https://www.npmjs.com/package/ml5). You can use those previous versions by replacing `<version>` with the ml5 version of interest:

docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ The fastest way to get started exploring the creative possibilities of ml5.js ar
1919
3. You can also copy and paste the cdn link to the ml5 library here:
2020

2121
```
22-
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
22+
<script src="https://unpkg.com/[email protected].2/dist/ml5.min.js"></script>
2323
```
2424

2525
***
2626
#### Quickstart: Plain JavaScript
2727

28-
Reference the [latest version](https://unpkg.com/[email protected].1/dist/ml5.min.js) of ml5.js using a script tag in an HTML file as below:
28+
Reference the [latest version](https://unpkg.com/[email protected].2/dist/ml5.min.js) of ml5.js using a script tag in an HTML file as below:
2929

3030

3131
In an **index.html** file, copy and paste the following and open up that file in your web browser.
@@ -36,7 +36,7 @@ In an **index.html** file, copy and paste the following and open up that file in
3636
<head>
3737
<title>Getting Started with ml5.js</title>
3838
<meta name="viewport" content="width=device-width, initial-scale=1.0">
39-
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
39+
<script src="https://unpkg.com/[email protected].2/dist/ml5.min.js"></script>
4040
</head>
4141

4242
<body>
@@ -71,7 +71,7 @@ In an **index.html** file, copy and paste the following and open up that file in
7171
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
7272
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.sound.min.js"></script>
7373
<!-- ml5 -->
74-
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
74+
<script src="https://unpkg.com/[email protected].2/dist/ml5.min.js"></script>
7575
</head>
7676

7777
<body>

docs/tutorials/hello-ml5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Here you can see that we read in the javascript libraries. This includes our ml5
7272

7373
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.min.js"></script>
7474
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
75-
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
75+
<script src="https://unpkg.com/[email protected].2/dist/ml5.min.js"></script>
7676
</head>
7777

7878
<body>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ml5",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "A friendly machine learning library for the web.",
55
"main": "dist/ml5.min.js",
66
"directories": {

0 commit comments

Comments
 (0)