Procházet zdrojové kódy

[ts] Updated README

Mario Zechner před 4 roky
rodič
revize
59d8aeeaf2
1 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 7 7
      spine-ts/README.md

+ 7 - 7
spine-ts/README.md

@@ -40,24 +40,24 @@ spine-ts THREE.JS does not support two color tinting or blend modes. The THREE.J
 All spine-ts modules are published to [npm](http://npmjs.com) for consumption via vanilla JavaScript as well as 
 All spine-ts modules are published to [npm](http://npmjs.com) for consumption via vanilla JavaScript as well as 
 
 
 ## Usage in vanilla JavaScript
 ## Usage in vanilla JavaScript
-You can include a module in your project via a `<script>` tag from the [unpkg](https://unpkg.com/) CDN, specifying the version as part of the URL. In the examples below, the version is `4.0.4`, which will work with all exports from Spine Editor version `4.0.x`.
+You can include a module in your project via a `<script>` tag from the [unpkg](https://unpkg.com/) CDN, specifying the version as part of the URL. In the examples below, the version is `4.0.*`, which fetches the latest patch release, and which will work with all exports from Spine Editor version `4.0.x`.
 
 
 ```
 ```
 // spine-ts Core
 // spine-ts Core
-<script src="https://unpkg.com/@esotericsoftware/[email protected].4/dist/iife/spine-core.js">
+<script src="https://unpkg.com/@esotericsoftware/[email protected].*/dist/iife/spine-core.js">
 
 
 // spine-ts Canvas
 // spine-ts Canvas
-<script src="https://unpkg.com/@esotericsoftware/[email protected].4/dist/iife/spine-canvas.js">
+<script src="https://unpkg.com/@esotericsoftware/[email protected].*/dist/iife/spine-canvas.js">
 
 
 // spine-ts WebGL
 // spine-ts WebGL
-<script src="https://unpkg.com/@esotericsoftware/[email protected].4/dist/iife/spine-webgl.js">
+<script src="https://unpkg.com/@esotericsoftware/[email protected].*/dist/iife/spine-webgl.js">
 
 
 // spine-ts Player, which requires a spine-player.css as well
 // spine-ts Player, which requires a spine-player.css as well
-<script src="https://unpkg.com/@esotericsoftware/[email protected].4/dist/iife/spine-player.js">
-<link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/[email protected].4/dist/iife/spine-player.css">
+<script src="https://unpkg.com/@esotericsoftware/[email protected].*/dist/iife/spine-player.js">
+<link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/[email protected].*/dist/iife/spine-player.css">
 
 
 // spine-ts WebGL
 // spine-ts WebGL
-<script src="https://unpkg.com/@esotericsoftware/[email protected].4/dist/iife/spine-webgl.js">
+<script src="https://unpkg.com/@esotericsoftware/[email protected].*/dist/iife/spine-webgl.js">
 ```
 ```
 
 
 We also provide `js.map` source maps. They will be automatically fetched from unpkg when debugging code of a spine-module in Chrome, Firefox, or Safari, mapping the JavaScript code back to its original TypeScript sources.
 We also provide `js.map` source maps. They will be automatically fetched from unpkg when debugging code of a spine-module in Chrome, Firefox, or Safari, mapping the JavaScript code back to its original TypeScript sources.