rita 3.1.2 → 3.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- ![ritajs](pen.jpg)
1
+ <!--![ritajs](pen.jpg)-->
2
2
 
3
3
 
4
- <a href="https://github.com/dhowe/rjs3/actions"><img src="https://github.com/dhowe/rjs3/actions/workflows/node.js.yml/badge.svg" alt="ci tests"></a> <a href="https://www.npmjs.com/package/rita"><img src="https://img.shields.io/npm/v/rita.svg" alt="npm version"></a> <a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://img.shields.io/badge/license-GPL-orange.svg" alt="license"></a>
4
+ <a href="https://github.com/dhowe/rjs3/actions"><img src="https://github.com/dhowe/rjs3/actions/workflows/node.js.yml/badge.svg" alt="ci tests"></a> <a href="https://www.npmjs.com/package/rita"><img src="https://img.shields.io/npm/v/rita.svg" alt="npm version"></a> <a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://img.shields.io/badge/license-GPL-orange.svg" alt="license"></a> <img src="https://img.shields.io/badge/%E2%99%A8_ai--free-100%25-green" alt="100% ai-free">
5
5
 
6
6
 
7
7
  ## RiTa: tools for computational writing
@@ -24,8 +24,8 @@ Note: version 3.0 contains breaking changes -- please check the [release notes](
24
24
  * For [esm](#an-esm-browser-sketch): ```import { RiTa } from "https://esm.sh/rita";```
25
25
  * For [node](#with-nodejs-and-npm): `$ npm install rita`
26
26
  ```let { RiTa } = require('rita');```
27
- * For [browsers](#a-simple-browser-sketch): ```<script src="https://unpkg.com/rita"></script>```
28
- * For [p5.js](#with-p5js): ```<script src="https://unpkg.com/rita"></script>```
27
+ * For [browsers](#a-simple-browser-sketch): ```<script src="https://cdn.jsdelivr.net/npm/rita"></script>```
28
+ * For [p5.js](#with-p5js): ```<script src="https://cdn.jsdelivr.net/npm/rita"></script>```
29
29
  * For [developers](#developing)
30
30
 
31
31
 
@@ -153,12 +153,6 @@ Please make contributions via [fork-and-pull](https://reflectoring.io/github-for
153
153
 
154
154
  Once you have things running with npm/mocha/tsup, you might also try [VSCode](https://code.visualstudio.com/).
155
155
 
156
- Some of the following extensions may also be useful:
157
-
158
- * hbenl.vscode-mocha-test-adapter
159
- * hbenl.vscode-test-explorer
160
- * ms-vscode.test-adapter-converter
161
-
162
156
  Here you can see the tests in the VSCode _Testing_ view
163
157
 
164
158
  <img width="800" alt="vscode-tests" src="https://github.com/dhowe/ritajs/assets/737638/103665fb-3dc8-448b-9ed3-d706be6797fc">
@@ -184,7 +178,7 @@ Create a new file on your desktop called 'test.html' with the following lines, s
184
178
 
185
179
  ```html
186
180
  <html>
187
- <script src="https://unpkg.com/rita"></script>
181
+ <script src="https://cdn.jsdelivr.net/npm/rita"></script>
188
182
  <script>
189
183
  window.onload = function() {
190
184
  let words = RiTa.tokenize("The elephant took a bite!");
@@ -218,8 +212,8 @@ Create a new file on your desktop called 'test.html' with the following lines, s
218
212
 
219
213
  ```html
220
214
  <html>
221
- <script src="https://unpkg.com/p5"></script>
222
- <script src="https://unpkg.com/rita"></script>
215
+ <script src="https://cdn.jsdelivr.net/npm/p5"></script>
216
+ <script src="https://cdn.jsdelivr.net/npm/rita"></script>
223
217
  <script>
224
218
  function setup() {
225
219
 
@@ -236,7 +230,7 @@ Create a new file on your desktop called 'test.html' with the following lines, s
236
230
  </script>
237
231
  </html>
238
232
  ```
239
- If you already have a sketch, simply add `<script src="https://unpkg.com/rita"></script>` to your index.html to include RiTa.
233
+ If you already have a sketch, simply add `<script src="https://cdn.jsdelivr.net/npm/rita"></script>` to your index.html to include RiTa.
240
234
 
241
235
 
242
236
  #### With [node.js](http://nodejs.org/) and [npm](https://www.npmjs.com/)