Skip to content

Commit 1a4020a

Browse files
Improved SCORM exports
1 parent c355014 commit 1a4020a

40 files changed

Lines changed: 600 additions & 23 deletions

dist/assets/capacitor/README.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<!--
2+
author: André Dietrich
3+
4+
email: LiaScript@web.de
5+
6+
version: 1.0.0
7+
8+
language: en
9+
10+
-->
11+
12+
# Demo-LiaScript
13+
14+
15+
<div style="width:100%;height:0;padding-bottom:56%;position:relative;"><iframe src="https://giphy.com/embed/StoU2izFCH9OhkHcpi" width="100%" height="100%" style="position:absolute" frameBorder="0" class="giphy-embed" allowFullScreen></iframe></div><p><a href="https://giphy.com/gifs/stellifymedia-itv-quiz-wwtbam-StoU2izFCH9OhkHcpi">via GIPHY</a></p>
16+
17+
### A Textquiz
18+
19+
What did the **fish** say when he hit a **concrete wall**?
20+
21+
[[dam]]
22+
23+
What did the **fish** say when he hit a **concrete wall**?
24+
25+
[[dam]]
26+
27+
28+
### Multiple Choice
29+
30+
Just add as many points as you wish:
31+
32+
[[X]] Only the **X** marks the correct point.
33+
[[ ]] Empty ones are wrong.
34+
[[X]] ...
35+
36+
### Single Choice
37+
38+
Just add as many points as you wish:
39+
40+
[( )] ...
41+
[(X)] <-- Only the **X** is allowed.
42+
[( )] ...
43+
44+
### Gap-Text
45+
46+
{{|>}}
47+
The film that I saw [[(that)|those|these|then]] night wasn’t very good.
48+
It was all [[ about ]] a man [[ who ]] built a
49+
time machine so he [[ could ]] travel back in time.
50+
It took him ages and ages [[ to ]] build the machine.
51+
52+
---
53+
54+
``` ascii
55+
.----------. .----------.
56+
| ⭐ | | ⭐ ⭐ |
57+
| ⭐ | | ⭐ ⭐ ⭐ |
58+
'----------' '----------'
59+
```
60+
61+
[[ 2 ]] + [[ 5 ]] = [[ 7 ]]
62+
63+
64+
65+
## Code
66+
67+
You can make your code executable and define projects:
68+
69+
``` js -EvalScript.js
70+
let who = data.first_name + " " + data.last_name;
71+
72+
if(data.online) {
73+
who + " is online"; }
74+
else {
75+
who + " is NOT online"; }
76+
```
77+
``` json +Data.json
78+
{
79+
"first_name" : "Sammy",
80+
"last_name" : "Shark",
81+
"online" : true
82+
}
83+
```
84+
<script>
85+
// insert the JSON dataset into the local variable data
86+
let data = @input(1);
87+
88+
// eval the script that uses this dataset
89+
eval(`@input(0)`);
90+
</script>
91+
92+
## More
93+
94+
Find out what you can even do more with quizzes:
95+
96+
https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/docs/master/README.md

dist/assets/indexeddb/README.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<!--
2+
author: André Dietrich
3+
4+
email: LiaScript@web.de
5+
6+
version: 1.0.0
7+
8+
language: en
9+
10+
-->
11+
12+
# Demo-LiaScript
13+
14+
15+
<div style="width:100%;height:0;padding-bottom:56%;position:relative;"><iframe src="https://giphy.com/embed/StoU2izFCH9OhkHcpi" width="100%" height="100%" style="position:absolute" frameBorder="0" class="giphy-embed" allowFullScreen></iframe></div><p><a href="https://giphy.com/gifs/stellifymedia-itv-quiz-wwtbam-StoU2izFCH9OhkHcpi">via GIPHY</a></p>
16+
17+
### A Textquiz
18+
19+
What did the **fish** say when he hit a **concrete wall**?
20+
21+
[[dam]]
22+
23+
What did the **fish** say when he hit a **concrete wall**?
24+
25+
[[dam]]
26+
27+
28+
### Multiple Choice
29+
30+
Just add as many points as you wish:
31+
32+
[[X]] Only the **X** marks the correct point.
33+
[[ ]] Empty ones are wrong.
34+
[[X]] ...
35+
36+
### Single Choice
37+
38+
Just add as many points as you wish:
39+
40+
[( )] ...
41+
[(X)] <-- Only the **X** is allowed.
42+
[( )] ...
43+
44+
### Gap-Text
45+
46+
{{|>}}
47+
The film that I saw [[(that)|those|these|then]] night wasn’t very good.
48+
It was all [[ about ]] a man [[ who ]] built a
49+
time machine so he [[ could ]] travel back in time.
50+
It took him ages and ages [[ to ]] build the machine.
51+
52+
---
53+
54+
``` ascii
55+
.----------. .----------.
56+
| ⭐ | | ⭐ ⭐ |
57+
| ⭐ | | ⭐ ⭐ ⭐ |
58+
'----------' '----------'
59+
```
60+
61+
[[ 2 ]] + [[ 5 ]] = [[ 7 ]]
62+
63+
64+
65+
## Code
66+
67+
You can make your code executable and define projects:
68+
69+
``` js -EvalScript.js
70+
let who = data.first_name + " " + data.last_name;
71+
72+
if(data.online) {
73+
who + " is online"; }
74+
else {
75+
who + " is NOT online"; }
76+
```
77+
``` json +Data.json
78+
{
79+
"first_name" : "Sammy",
80+
"last_name" : "Shark",
81+
"online" : true
82+
}
83+
```
84+
<script>
85+
// insert the JSON dataset into the local variable data
86+
let data = @input(1);
87+
88+
// eval the script that uses this dataset
89+
eval(`@input(0)`);
90+
</script>
91+
92+
## More
93+
94+
Find out what you can even do more with quizzes:
95+
96+
https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/docs/master/README.md

dist/assets/indexeddb/index.31ac4ee7.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/assets/indexeddb/index.36379487.js

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

dist/assets/indexeddb/index.8fe00269.js

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

dist/assets/indexeddb/index.a542d943.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/assets/indexeddb/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.29660ded.js"></script><script defer type="module" src="index.86672fec.js"></script><script defer src="index.cc4ff0d6.js" nomodule></script><script defer type="module" src="index.b47e83d8.js"></script><script defer src="index.05f38d1e.js" nomodule></script><script defer type="module" src="index.8ef64c13.js"></script><script defer src="index.7c2099c2.js" nomodule></script><script defer type="module" src="index.a542d943.js"></script><script defer src="index.31ac4ee7.js" nomodule></script><script defer type="module" src="index.4ac28269.js"></script><script defer src="index.ec39ea37.js" nomodule></script><script defer type="module" src="index.ad714f5b.js"></script><script defer src="index.ff894342.js" nomodule></script><script defer type="module" src="index.41ea0a1c.js"></script><script defer src="index.153654b0.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.95b0d75c.js"></script><script defer src="index.8e9af83f.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.abbc2cae.png"><link rel="icon" href="logo.abbc2cae.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;-webkit-animation:1.2s linear infinite lds-dual-ring;animation:1.2s linear infinite lds-dual-ring;display:block}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}</style><link rel="stylesheet" href="index.c9633b0d.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.29660ded.js"></script><script defer type="module" src="index.86672fec.js"></script><script defer src="index.cc4ff0d6.js" nomodule></script><script defer type="module" src="index.b47e83d8.js"></script><script defer src="index.05f38d1e.js" nomodule></script><script defer type="module" src="index.8ef64c13.js"></script><script defer src="index.7c2099c2.js" nomodule></script><script defer type="module" src="index.36379487.js"></script><script defer src="index.8fe00269.js" nomodule></script><script defer type="module" src="index.4ac28269.js"></script><script defer src="index.ec39ea37.js" nomodule></script><script defer type="module" src="index.ad714f5b.js"></script><script defer src="index.ff894342.js" nomodule></script><script defer type="module" src="index.41ea0a1c.js"></script><script defer src="index.153654b0.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.95b0d75c.js"></script><script defer src="index.8e9af83f.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.abbc2cae.png"><link rel="icon" href="logo.abbc2cae.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;-webkit-animation:1.2s linear infinite lds-dual-ring;animation:1.2s linear infinite lds-dual-ring;display:block}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}</style><link rel="stylesheet" href="index.c9633b0d.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>

dist/assets/pdf/README.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<!--
2+
author: André Dietrich
3+
4+
email: LiaScript@web.de
5+
6+
version: 1.0.0
7+
8+
language: en
9+
10+
-->
11+
12+
# Demo-LiaScript
13+
14+
15+
<div style="width:100%;height:0;padding-bottom:56%;position:relative;"><iframe src="https://giphy.com/embed/StoU2izFCH9OhkHcpi" width="100%" height="100%" style="position:absolute" frameBorder="0" class="giphy-embed" allowFullScreen></iframe></div><p><a href="https://giphy.com/gifs/stellifymedia-itv-quiz-wwtbam-StoU2izFCH9OhkHcpi">via GIPHY</a></p>
16+
17+
### A Textquiz
18+
19+
What did the **fish** say when he hit a **concrete wall**?
20+
21+
[[dam]]
22+
23+
What did the **fish** say when he hit a **concrete wall**?
24+
25+
[[dam]]
26+
27+
28+
### Multiple Choice
29+
30+
Just add as many points as you wish:
31+
32+
[[X]] Only the **X** marks the correct point.
33+
[[ ]] Empty ones are wrong.
34+
[[X]] ...
35+
36+
### Single Choice
37+
38+
Just add as many points as you wish:
39+
40+
[( )] ...
41+
[(X)] <-- Only the **X** is allowed.
42+
[( )] ...
43+
44+
### Gap-Text
45+
46+
{{|>}}
47+
The film that I saw [[(that)|those|these|then]] night wasn’t very good.
48+
It was all [[ about ]] a man [[ who ]] built a
49+
time machine so he [[ could ]] travel back in time.
50+
It took him ages and ages [[ to ]] build the machine.
51+
52+
---
53+
54+
``` ascii
55+
.----------. .----------.
56+
| ⭐ | | ⭐ ⭐ |
57+
| ⭐ | | ⭐ ⭐ ⭐ |
58+
'----------' '----------'
59+
```
60+
61+
[[ 2 ]] + [[ 5 ]] = [[ 7 ]]
62+
63+
64+
65+
## Code
66+
67+
You can make your code executable and define projects:
68+
69+
``` js -EvalScript.js
70+
let who = data.first_name + " " + data.last_name;
71+
72+
if(data.online) {
73+
who + " is online"; }
74+
else {
75+
who + " is NOT online"; }
76+
```
77+
``` json +Data.json
78+
{
79+
"first_name" : "Sammy",
80+
"last_name" : "Shark",
81+
"online" : true
82+
}
83+
```
84+
<script>
85+
// insert the JSON dataset into the local variable data
86+
let data = @input(1);
87+
88+
// eval the script that uses this dataset
89+
eval(`@input(0)`);
90+
</script>
91+
92+
## More
93+
94+
Find out what you can even do more with quizzes:
95+
96+
https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/docs/master/README.md

dist/assets/scorm1.2/README.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<!--
2+
author: André Dietrich
3+
4+
email: LiaScript@web.de
5+
6+
version: 1.0.0
7+
8+
language: en
9+
10+
-->
11+
12+
# Demo-LiaScript
13+
14+
15+
<div style="width:100%;height:0;padding-bottom:56%;position:relative;"><iframe src="https://giphy.com/embed/StoU2izFCH9OhkHcpi" width="100%" height="100%" style="position:absolute" frameBorder="0" class="giphy-embed" allowFullScreen></iframe></div><p><a href="https://giphy.com/gifs/stellifymedia-itv-quiz-wwtbam-StoU2izFCH9OhkHcpi">via GIPHY</a></p>
16+
17+
### A Textquiz
18+
19+
What did the **fish** say when he hit a **concrete wall**?
20+
21+
[[dam]]
22+
23+
What did the **fish** say when he hit a **concrete wall**?
24+
25+
[[dam]]
26+
27+
28+
### Multiple Choice
29+
30+
Just add as many points as you wish:
31+
32+
[[X]] Only the **X** marks the correct point.
33+
[[ ]] Empty ones are wrong.
34+
[[X]] ...
35+
36+
### Single Choice
37+
38+
Just add as many points as you wish:
39+
40+
[( )] ...
41+
[(X)] <-- Only the **X** is allowed.
42+
[( )] ...
43+
44+
### Gap-Text
45+
46+
{{|>}}
47+
The film that I saw [[(that)|those|these|then]] night wasn’t very good.
48+
It was all [[ about ]] a man [[ who ]] built a
49+
time machine so he [[ could ]] travel back in time.
50+
It took him ages and ages [[ to ]] build the machine.
51+
52+
---
53+
54+
``` ascii
55+
.----------. .----------.
56+
| ⭐ | | ⭐ ⭐ |
57+
| ⭐ | | ⭐ ⭐ ⭐ |
58+
'----------' '----------'
59+
```
60+
61+
[[ 2 ]] + [[ 5 ]] = [[ 7 ]]
62+
63+
64+
65+
## Code
66+
67+
You can make your code executable and define projects:
68+
69+
``` js -EvalScript.js
70+
let who = data.first_name + " " + data.last_name;
71+
72+
if(data.online) {
73+
who + " is online"; }
74+
else {
75+
who + " is NOT online"; }
76+
```
77+
``` json +Data.json
78+
{
79+
"first_name" : "Sammy",
80+
"last_name" : "Shark",
81+
"online" : true
82+
}
83+
```
84+
<script>
85+
// insert the JSON dataset into the local variable data
86+
let data = @input(1);
87+
88+
// eval the script that uses this dataset
89+
eval(`@input(0)`);
90+
</script>
91+
92+
## More
93+
94+
Find out what you can even do more with quizzes:
95+
96+
https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/docs/master/README.md

0 commit comments

Comments
 (0)