mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 01:18:21 +01:00
revert changes
This commit is contained in:
parent
eb27b330a7
commit
15011086f7
Binary file not shown.
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user