[ts] More README changes.

This commit is contained in:
Mario Zechner 2021-09-01 15:26:01 +02:00
parent 59d8aeeaf2
commit 040539a07d
2 changed files with 6 additions and 6 deletions

View File

@ -47,17 +47,17 @@ You can include a module in your project via a `<script>` tag from the [unpkg](h
<script src="https://unpkg.com/@esotericsoftware/spine-core@4.0.*/dist/iife/spine-core.js"> <script src="https://unpkg.com/@esotericsoftware/spine-core@4.0.*/dist/iife/spine-core.js">
// spine-ts Canvas // spine-ts Canvas
<script src="https://unpkg.com/@esotericsoftware/spine-core@4.0.*/dist/iife/spine-canvas.js"> <script src="https://unpkg.com/@esotericsoftware/spine-canvas@4.0.*/dist/iife/spine-canvas.js">
// spine-ts WebGL // spine-ts WebGL
<script src="https://unpkg.com/@esotericsoftware/spine-core@4.0.*/dist/iife/spine-webgl.js"> <script src="https://unpkg.com/@esotericsoftware/spine-webgl@4.0.*/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/spine-core@4.0.*/dist/iife/spine-player.js"> <script src="https://unpkg.com/@esotericsoftware/spine-player@4.0.*/dist/iife/spine-player.js">
<link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/spine-core@4.0.*/dist/iife/spine-player.css"> <link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/spine-player@4.0.*/dist/iife/spine-player.css">
// spine-ts WebGL // spine-ts WebGL
<script src="https://unpkg.com/@esotericsoftware/spine-core@4.0.*/dist/iife/spine-webgl.js"> <script src="https://unpkg.com/@esotericsoftware/spine-threejs@4.0.*/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.

View File

@ -1,6 +1,6 @@
{ {
"name": "@esotericsoftware/spine-ts", "name": "@esotericsoftware/spine-ts",
"version": "4.0.2", "version": "4.0.4",
"description": "The official Spine Runtimes for the web.", "description": "The official Spine Runtimes for the web.",
"files": [ "files": [
"README.md" "README.md"