live2dapi-noa 1.0.7 → 1.0.8
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/index.html +1 -4
- package/jsdelivr/random/autoload.js +1 -1
- package/jsdelivr/sequential/autoload.js +1 -1
- package/package.json +1 -1
- package/readme.md +4 -4
package/index.html
CHANGED
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<title>Live2D 看板娘 / Demo</title>
|
|
6
|
-
<link
|
|
7
|
-
rel="stylesheet"
|
|
8
|
-
href="https://cdn.jsdmirror.com/gh/nova1751/live2d-api@latest/css/left.css"
|
|
9
|
-
/>
|
|
6
|
+
<link rel="stylesheet" href="./css/left.css" />
|
|
10
7
|
<style>
|
|
11
8
|
#github svg {
|
|
12
9
|
transition: all 1s;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// const live2d_path =
|
|
3
3
|
// "https://fastly.jsdelivr.net/gh/nova1751/live2d-widget@latest/";
|
|
4
4
|
|
|
5
|
-
const live2d_path = 'https://cdn.
|
|
5
|
+
const live2d_path = 'https://cdn.jsdelivr.net/gh/nova1751/live2d-api@latest/';
|
|
6
6
|
|
|
7
7
|
// 封装异步加载资源的方法
|
|
8
8
|
function loadExternalResource(url, type) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// const live2d_path =
|
|
3
3
|
// "https://fastly.jsdelivr.net/gh/nova1751/live2d-widget@latest/";
|
|
4
4
|
|
|
5
|
-
const live2d_path = 'https://cdn.
|
|
5
|
+
const live2d_path = 'https://cdn.jsdelivr.net/gh/nova1751/live2d-api@latest/';
|
|
6
6
|
|
|
7
7
|
// 封装异步加载资源的方法
|
|
8
8
|
function loadExternalResource(url, type) {
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
|
|
25
25
|
```html
|
|
26
26
|
<!-- 顺序切换模型材质 -->
|
|
27
|
-
<script src="https://cdn.
|
|
27
|
+
<script src="https://cdn.jsdelivr.net/gh/nova1751/live2d-api@latest/jsdelivr/sequential/autoload.min.js"></script>
|
|
28
28
|
<!-- 随机切换模型材质 -->
|
|
29
|
-
<script src="https://cdn.
|
|
29
|
+
<script src="https://cdn.jsdelivr.net/gh/nova1751/live2d-api@latest/jsdelivr/random/autoload.min.js"></script>
|
|
30
30
|
|
|
31
31
|
<!-- 看板娘位置靠左 -->
|
|
32
32
|
<link
|
|
33
33
|
rel="stylesheet"
|
|
34
|
-
href="https://cdn.
|
|
34
|
+
href="https://cdn.jsdelivr.net/gh/nova1751/live2d-api@latest/css/left.min.css"
|
|
35
35
|
/>
|
|
36
36
|
<!-- 看板娘位置靠右 -->
|
|
37
37
|
<link
|
|
38
38
|
rel="stylesheet"
|
|
39
|
-
href="https://cdn.
|
|
39
|
+
href="https://cdn.jsdelivr.net/gh/nova1751/live2d-api@latest/css/right.min.css"
|
|
40
40
|
/>
|
|
41
41
|
```
|
|
42
42
|
|