mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
updates
This commit is contained in:
parent
f6b2e55adb
commit
c0dd51bd44
1 changed files with 10 additions and 4 deletions
14
dist/embed/iframe.html
vendored
14
dist/embed/iframe.html
vendored
|
@ -39,6 +39,13 @@
|
|||
};
|
||||
|
||||
function loadLibs (list, callBack) {
|
||||
if (!list.length) {
|
||||
if (callBack) {
|
||||
callBack();
|
||||
};
|
||||
return;
|
||||
};
|
||||
|
||||
const src = list.shift();
|
||||
const script = document.createElement('script');
|
||||
|
||||
|
@ -47,10 +54,9 @@
|
|||
script.onload = function (e) {
|
||||
if (list.length) {
|
||||
loadScripts(list, callBack);
|
||||
} else {
|
||||
if (callBack) {
|
||||
callBack();
|
||||
};
|
||||
} else
|
||||
if (callBack) {
|
||||
callBack();
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue