Browse Source

[ts][player] Fix embed examples.

Davide Tantillo 2 tháng trước cách đây
mục cha
commit
ac344759d1

+ 2 - 2
spine-ts/spine-player/example/editor.html

@@ -14,8 +14,8 @@
 
   <script>
     var code =
-      '<script src="https://unpkg.com/@esotericsoftware/spine-player@4.3.*/dist/iife/spine-player.js"></' +
-      'script>\n<link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/spine-player@4.3.*/dist/spine-player.css">\n\n<div id="player-container" style="width: 100%; height: 100vh;"></div>\n\n<script>\nnew spine.SpinePlayer("player-container", {\n	skeleton: "http://esotericsoftware.com/files/examples/4.3/spineboy/export/spineboy-pro.json",\n	atlas: "http://esotericsoftware.com/files/examples/4.3/spineboy/export/spineboy.atlas",\n	premultipliedAlpha: false\n});\n</' +
+      '<script src="https://unpkg.com/@esotericsoftware/spine-player@4.2.*/dist/iife/spine-player.js"></' +
+      'script>\n<link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/spine-player@4.2.*/dist/spine-player.css">\n\n<div id="player-container" style="width: 100%; height: 100vh;"></div>\n\n<script>\nnew spine.SpinePlayer("player-container", {\n	skeleton: "http://esotericsoftware.com/files/examples/4.2/spineboy/export/spineboy-pro.json",\n	atlas: "http://esotericsoftware.com/files/examples/4.2/spineboy/export/spineboy-pma.atlas",\n	premultipliedAlpha: true\n});\n</' +
       "script>".trim();
     spine.SpinePlayerEditor.DEFAULT_CODE = code;
     var player = new spine.SpinePlayerEditor(

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
spine-ts/spine-player/example/embedding-binary-example.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
spine-ts/spine-player/example/embedding-json-example.html


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác