Skip to content

Commit c7f02d3

Browse files
updated loader url: pages, version switcher, templates (compressed)
1 parent bf90d8a commit c7f02d3

33 files changed

+42
-42
lines changed

packages/astro-theme/components/ProductVersionSwitcher.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { product } = Astro.props;
1414
class="px-2 py-1 rounded bg-transparent text-stone-400 font-medium"
1515
id="version-switcher"
1616
>
17-
<option value="cheerpj3" selected={product.id === "cheerpj3"}>v3.0</option>
17+
<option value="cheerpj3" selected={product.id === "cheerpj3"}>v3.1</option>
1818
<option value="cheerpj2" selected={product.id === "cheerpj2"}>v2.3</option>
1919
</select>
2020
</div>
Binary file not shown.
-1.35 KB
Binary file not shown.
-3.75 KB
Binary file not shown.
-1.69 KB
Binary file not shown.
-1.02 KB
Binary file not shown.
0 Bytes
Binary file not shown.

sites/cheerpj/src/content/docs/00-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import AppletRunnerButton from "@leaningtech/astro-theme/components/AppletRunner
4343
</div>
4444

4545
```html
46-
<script src="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"></script>
46+
<script src="https://cjrtnc.leaningtech.com/3.1/cj3loader.js"></script>
4747
```
4848

4949
<div class="mx-24">![](./explanation-diagram.png)</div>

sites/cheerpj/src/content/docs/10-getting-started/00-Java-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Let's create a basic HTML file like the following example. Please notice the Che
3333
<head>
3434
<meta charset="utf-8" />
3535
<title>CheerpJ test</title>
36-
<script src="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"></script>
36+
<script src="https://cjrtnc.leaningtech.com/3.1/cj3loader.js"></script>
3737
</head>
3838
<body>
3939
<script>

sites/cheerpj/src/content/docs/10-getting-started/01-Java-applet.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In order to integrate CheerpJ, you just need to add:
3838
1. A simple `<script>` within the `<head>` of your page with the CheerpJ runtime loader.
3939

4040
```html
41-
<script src="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"></script>
41+
<script src="https://cjrtnc.leaningtech.com/3.1/cj3loader.js"></script>
4242
```
4343

4444
2. A second script calling [`cheerpjInit()`] to initialize CheerpJ's runtime environment.
@@ -57,7 +57,7 @@ For example:
5757
<head>
5858
<meta charset="utf-8" />
5959
<title>CheerpJ applet test</title>
60-
<script src="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"></script>
60+
<script src="https://cjrtnc.leaningtech.com/3.1/cj3loader.js"></script>
6161
</head>
6262
<body>
6363
<applet

0 commit comments

Comments
 (0)