mirror of
https://github.com/caojiezi2003/live2d-widget.git
synced 2024-11-22 15:19:44 +00:00
Load JavaScript with async
This commit is contained in:
parent
79dfa12eea
commit
e5f256f88a
@ -7,16 +7,14 @@ $("<link>").attr({href: live2d_path + "waifu.css", rel: "stylesheet", type: "tex
|
||||
$.ajax({
|
||||
url: live2d_path + "live2d.min.js",
|
||||
dataType: "script",
|
||||
cache: true,
|
||||
async: false
|
||||
cache: true
|
||||
});
|
||||
//live2d.min.js的绝对路径
|
||||
|
||||
$.ajax({
|
||||
url: live2d_path + "waifu-tips.js",
|
||||
dataType: "script",
|
||||
cache: true,
|
||||
async: false
|
||||
cache: true
|
||||
});
|
||||
//waifu-tips.js的绝对路径
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user