mirror of
https://github.com/stevenjoezhang/live2d-widget.git
synced 2024-11-26 14:47:02 +08:00
Update autoload.js
This commit is contained in:
parent
d598ff939b
commit
77b0cb06f9
@ -28,10 +28,8 @@ function loadExternalResource(url, type) {
|
|||||||
if (screen.width >= 768) {
|
if (screen.width >= 768) {
|
||||||
Promise.all([
|
Promise.all([
|
||||||
loadExternalResource(live2d_path + "waifu.css", "css"),
|
loadExternalResource(live2d_path + "waifu.css", "css"),
|
||||||
loadExternalResource(live2d_path + "drag.js", "js"),
|
|
||||||
loadExternalResource(live2d_path + "live2d.min.js", "js"),
|
loadExternalResource(live2d_path + "live2d.min.js", "js"),
|
||||||
loadExternalResource(live2d_path + "waifu-tips.js", "js"),
|
loadExternalResource(live2d_path + "waifu-tips.js", "js")
|
||||||
|
|
||||||
]).then(() => {
|
]).then(() => {
|
||||||
initWidget({
|
initWidget({
|
||||||
waifuPath: live2d_path + "waifu-tips.json",
|
waifuPath: live2d_path + "waifu-tips.json",
|
||||||
|
Loading…
Reference in New Issue
Block a user