Skip to content

Commit ee0c561

Browse files
fix multiload of resources
1 parent 8bb7579 commit ee0c561

40 files changed

Lines changed: 135 additions & 30 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,12 +661,12 @@ You have to be aware, that the PDF generation can be quite time consuming
661661
especially for large courses with a lot of scripts and code-snippets to be
662662
executed and multimedia to be loaded. `puppeteer` thus sometimes does not know
663663
when the course is ready. If the generation fails, you should try to increase
664-
this value, the default is 30000, which means 30 seconds.
664+
this value, the default is 60000, which means 60 seconds.
665665
666666
``` bash
667667
$ liaex --format pdf \
668668
-o example \
669-
--pdf-timeout 50000 \
669+
--pdf-timeout 60000 \
670670
-i https://github.com/TUBAF-IfI-LiaScript/VL_ProzeduraleProgrammierung/blob/master/08_Objekte.md
671671
672672
depending on the size of the course, this can take a while, please be patient...

dist/assets/capacitor/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ version: 1.0.0
77
88
language: en
99
10+
@onload
11+
window.LIA.debug = true
12+
@end
13+
1014
-->
1115

1216
# Demo-LiaScript
@@ -16,6 +20,17 @@ language: en
1620

1721
### A Textquiz
1822

23+
24+
``` js
25+
let x = 10;
26+
let y = 32;
27+
```
28+
<script>
29+
@input
30+
window.console.warn("x + y =", x + y);
31+
32+
</script>
33+
1934
What did the **fish** say when he hit a **concrete wall**?
2035

2136
[[dam]]
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/capacitor/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><title>Lia</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><script src="index.4fa9e2a8.js"></script><script defer type="module" src="index.9bdf3f95.js"></script><script defer src="index.307a89b8.js" nomodule></script><script defer type="module" src="index.af6dc3bc.js"></script><script defer src="index.b9e562c9.js" nomodule></script><script defer type="module" src="index.f4cd9dd4.js"></script><script defer src="index.149bb06e.js" nomodule></script><script defer type="module" src="index.77092ea5.js"></script><script defer src="index.7c990c90.js" nomodule></script><script defer type="module" src="index.7b26c632.js"></script><script defer src="index.464466dc.js" nomodule></script><script defer type="module" src="index.6afc6073.js"></script><script defer src="index.b519f15b.js" nomodule></script><script defer type="module" src="index.a440c736.js"></script><script defer src="index.ac122055.js" nomodule></script><script defer type="module" src="index.1df2912f.js"></script><script defer src="index.02e1e0e7.js" nomodule></script><script defer type="module" src="index.dbe3fe41.js"></script><script defer src="index.1edbdfd2.js" nomodule></script><script>"serviceWorker"in navigator&&window.addEventListener("load",(function(){try{navigator.serviceWorker.register("./sw.js").then(console.log).catch(console.error)}catch(e){console.warn("sw: ",e)}}));</script><link rel="icon shortcut" sizes="192x192" href="up_/up_/assets/logo_192.png"><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="Lia"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="LiaScript"><meta name="msapplication-TileImage" content="up_/up_/assets/logo_192.png"><meta name="msapplication-TileColor" content="#0071c5"><meta name="msapplication-tap-highlight" content="no"><meta name="theme-color" content="#000000"><meta name="description" content="LiaScript is a service for running free and interactive online courses, build with its own Markup-language. So check out the following course ;-)"><link rel="apple-touch-icon" href="logo.8a716d9b.png"><link rel="icon" href="logo.8a716d9b.png" type="image/png"><style>.lds-dual-ring{width:150px;height:150px;display:inline-block}.lds-dual-ring:after{content:" ";width:128px;height:128px;border:5px solid #000;border-color:#000 transparent;border-radius:50%;margin:1px;-moz-animation:1.2s linear infinite lds-dual-ring;animation:1.2s linear infinite lds-dual-ring;display:block}@-moz-keyframes lds-dual-ring{0%{-moz-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lds-dual-ring{0%{-moz-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}</style><link rel="stylesheet" href="index.d32274ee.css" media="none" onload="if(media!='all')media='all'"></head><body> <noscript> This page requires JavaScript to be enabled! </noscript> <div id="IE-message" hidden> <h1>LiaScript - Problem</h1> <p> Hello! Welcome to LiaScript. This site is not fully supported in Internet Explorer 11 (and earlier) versions. </p> <p> As an alternative, you can use either of the options below to browse the site: </p> <ol> <li> Use Firefox browser. Here is the <a href="http://www.mozilla.org/en-US/firefox/new/">download link.</a> </li> <li> Use Google Chrome browser. Here is the <a href="https://support.google.com/chrome/answer/95346?hl=en">download link.</a> </li> </ol> <p>Thanks.</p> </div> <div style="width:100%;text-align:center;position:absolute;top:25%"> <h1>Loading</h1> <br> <div class="lds-dual-ring"></div> </div> </body></html>
1+
<!DOCTYPE html><html lang="en"><head><title>Lia</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><script src="index.4fa9e2a8.js"></script><script defer type="module" src="index.9bdf3f95.js"></script><script defer src="index.307a89b8.js" nomodule></script><script defer type="module" src="index.af6dc3bc.js"></script><script defer src="index.b9e562c9.js" nomodule></script><script defer type="module" src="index.f4cd9dd4.js"></script><script defer src="index.149bb06e.js" nomodule></script><script defer type="module" src="index.c2c06db5.js"></script><script defer src="index.df3c179d.js" nomodule></script><script defer type="module" src="index.7b26c632.js"></script><script defer src="index.464466dc.js" nomodule></script><script defer type="module" src="index.6afc6073.js"></script><script defer src="index.b519f15b.js" nomodule></script><script defer type="module" src="index.a440c736.js"></script><script defer src="index.ac122055.js" nomodule></script><script defer type="module" src="index.1df2912f.js"></script><script defer src="index.02e1e0e7.js" nomodule></script><script defer type="module" src="index.dbe3fe41.js"></script><script defer src="index.1edbdfd2.js" nomodule></script><script>"serviceWorker"in navigator&&window.addEventListener("load",(function(){try{navigator.serviceWorker.register("./sw.js").then(console.log).catch(console.error)}catch(e){console.warn("sw: ",e)}}));</script><link rel="icon shortcut" sizes="192x192" href="up_/up_/assets/logo_192.png"><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="Lia"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="LiaScript"><meta name="msapplication-TileImage" content="up_/up_/assets/logo_192.png"><meta name="msapplication-TileColor" content="#0071c5"><meta name="msapplication-tap-highlight" content="no"><meta name="theme-color" content="#000000"><meta name="description" content="LiaScript is a service for running free and interactive online courses, build with its own Markup-language. So check out the following course ;-)"><link rel="apple-touch-icon" href="logo.8a716d9b.png"><link rel="icon" href="logo.8a716d9b.png" type="image/png"><style>.lds-dual-ring{width:150px;height:150px;display:inline-block}.lds-dual-ring:after{content:" ";width:128px;height:128px;border:5px solid #000;border-color:#000 transparent;border-radius:50%;margin:1px;-moz-animation:1.2s linear infinite lds-dual-ring;animation:1.2s linear infinite lds-dual-ring;display:block}@-moz-keyframes lds-dual-ring{0%{-moz-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lds-dual-ring{0%{-moz-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}</style><link rel="stylesheet" href="index.d32274ee.css" media="none" onload="if(media!='all')media='all'"></head><body> <noscript> This page requires JavaScript to be enabled! </noscript> <div id="IE-message" hidden> <h1>LiaScript - Problem</h1> <p> Hello! Welcome to LiaScript. This site is not fully supported in Internet Explorer 11 (and earlier) versions. </p> <p> As an alternative, you can use either of the options below to browse the site: </p> <ol> <li> Use Firefox browser. Here is the <a href="http://www.mozilla.org/en-US/firefox/new/">download link.</a> </li> <li> Use Google Chrome browser. Here is the <a href="https://support.google.com/chrome/answer/95346?hl=en">download link.</a> </li> </ol> <p>Thanks.</p> </div> <div style="width:100%;text-align:center;position:absolute;top:25%"> <h1>Loading</h1> <br> <div class="lds-dual-ring"></div> </div> </body></html>
File renamed without changes.

dist/assets/indexeddb/jszip.min.4fbcc13f.js renamed to dist/assets/capacitor/jszip.min.63142cc8.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/indexeddb/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ version: 1.0.0
77
88
language: en
99
10+
@onload
11+
window.LIA.debug = true
12+
@end
13+
1014
-->
1115

1216
# Demo-LiaScript
@@ -16,6 +20,17 @@ language: en
1620

1721
### A Textquiz
1822

23+
24+
``` js
25+
let x = 10;
26+
let y = 32;
27+
```
28+
<script>
29+
@input
30+
window.console.warn("x + y =", x + y);
31+
32+
</script>
33+
1934
What did the **fish** say when he hit a **concrete wall**?
2035

2136
[[dam]]
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)