revert changes

This commit is contained in:
lxsang 2021-04-19 15:46:44 +02:00
parent eb27b330a7
commit 15011086f7
2 changed files with 1 additions and 12 deletions

Binary file not shown.

View File

@ -1411,18 +1411,7 @@ namespace OS {
console.log("Loaded :", l);
return resolve(undefined);
case "js":
/*return API.script(libfp.getlink())
.then(function (data: any) {
API.shared[l] = true;
console.log("Loaded :", l);
return resolve(data);
})
.catch((e: Error) => reject(__e(e)));*/
$("<script>",{
async: "async",
type: "text/javascript",
src: libfp.getlink()
}).appendTo("head");
await API.script(libfp.getlink());
API.shared[l] = true;
console.log("Loaded :", l);
return resolve(undefined);