Skip to content

Commit

Permalink
Docs: Update url and version to 2.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Jul 20, 2024
1 parent 9399250 commit 627bf54
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions build/site-set-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const files = {
],
'docs/intro.md': [...cdnLinks],
'docs/resources/example-add.html': [...cdnLinks],
'docs/resources/example-fail.html': [...cdnLinks],
'docs/resources/example-index.html': [...cdnLinks]
};

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ ok 1 add > two numbers

## Current Release

<p class="lead lead--center">v2.21.0 (<a href="https://github.com/qunitjs/qunit/blob/2.21.0/History.md">changelog</a>)</p>
<p class="lead lead--center">v2.21.1 (<a href="https://github.com/qunitjs/qunit/blob/2.21.1/History.md">changelog</a>)</p>

These are the official [release channels](intro.md#download) for QUnit:

* Download: [`qunit-2.21.0.js`](https://code.jquery.com/qunit/qunit-2.21.0.js) and [`qunit-2.21.0.css`](https://code.jquery.com/qunit/qunit-2.21.0.css)
* Download: [`qunit-2.21.1.js`](https://code.jquery.com/qunit/qunit-2.21.1.js) and [`qunit-2.21.1.css`](https://code.jquery.com/qunit/qunit-2.21.1.css)
* npm: `npm install --save-dev qunit`
* Yarn: `yarn add --dev qunit`

Expand Down
6 changes: 3 additions & 3 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ These are the official release channels for QUnit releases:

* Download:

You can save the [`qunit-2.21.0.js`](https://code.jquery.com/qunit/qunit-2.21.0.js) and [`qunit-2.21.0.css`](https://code.jquery.com/qunit/qunit-2.21.0.css) files directly from the jQuery CDN.
You can save the [`qunit-2.21.1.js`](https://code.jquery.com/qunit/qunit-2.21.1.js) and [`qunit-2.21.1.css`](https://code.jquery.com/qunit/qunit-2.21.1.css) files directly from the jQuery CDN.
For older versions, browse the [release archives](https://releases.jquery.com/qunit/).

Or download them via the terminal, and save them in your Git repository.

```bash
curl -o qunit.css 'https://code.jquery.com/qunit/qunit-2.21.0.css'
curl -o qunit.js 'https://code.jquery.com/qunit/qunit-2.21.0.js'
curl -o qunit.css 'https://code.jquery.com/qunit/qunit-2.21.1.css'
curl -o qunit.js 'https://code.jquery.com/qunit/qunit-2.21.1.js'
```

* npm Registry:
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/example-add.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<meta charset="utf-8">
<title>QUnit</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.0.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.1.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.21.0.js"></script>
<script src="https://code.jquery.com/qunit/qunit-2.21.1.js"></script>
<script>
function add (a, b) {
return a + b;
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/example-fail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<meta charset="utf-8">
<title>QUnit</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.0.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.1.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.21.0.js"></script>
<script src="https://code.jquery.com/qunit/qunit-2.21.1.js"></script>
<script>
QUnit.test('apple', function (assert) {
assert.equal('this is expected', 'this is expected', 'example');
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/example-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html lang="en">
<meta charset="utf-8">
<title>QUnit</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.0.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.1.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>

<script src="https://code.jquery.com/qunit/qunit-2.21.0.js"></script>
<script src="https://code.jquery.com/qunit/qunit-2.21.1.js"></script>
<script type="module" src="calc.test.js"></script>
<script type="module" src="game.test.js"></script>
</body>
Expand Down

0 comments on commit 627bf54

Please sign in to comment.