@farberg/reveal-template 1.0.67 → 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/init-reveal.js
CHANGED
|
@@ -24,7 +24,7 @@ const defaultOptions = {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const externalJsLibs = [
|
|
27
|
-
'node_modules/
|
|
27
|
+
'node_modules/easyqrcodejs/dist/easy.qrcode.min.js',
|
|
28
28
|
'node_modules/file-saver/dist/FileSaver.min.js',
|
|
29
29
|
'node_modules/jszip/dist/jszip.min.js',
|
|
30
30
|
'node_modules/reveal.js-plugins/chalkboard/plugin.js',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farberg/reveal-template",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.69",
|
|
4
4
|
"homepage": "https://github.com/pfisterer/reveal-template",
|
|
5
5
|
"description": "Reveal.js template for Dennis' lectures",
|
|
6
6
|
"main": "index.js",
|
|
@@ -15,15 +15,18 @@
|
|
|
15
15
|
"author": "Dennis Pfisterer, http://dennis-pfisterer.de",
|
|
16
16
|
"license": "Apache License 2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"
|
|
18
|
+
"asciinema-player": "^3.5.0",
|
|
19
|
+
"easyqrcodejs": "^4.6.1",
|
|
19
20
|
"file-saver": "^2.0.5",
|
|
20
21
|
"jszip": "^3.10.1",
|
|
21
22
|
"qrcode": "1.5.1",
|
|
22
23
|
"reveal.js": "^4.5.0",
|
|
23
|
-
"reveal.js-plugins": "^4.2.0"
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
"reveal.js-plugins": "^4.2.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"connect": "^3.7.0",
|
|
26
28
|
"pdf-merger-js": "^4.3.0",
|
|
27
|
-
"puppeteer": "^21.5.2"
|
|
29
|
+
"puppeteer": "^21.5.2",
|
|
30
|
+
"serve-static": "^1.15.0"
|
|
28
31
|
}
|
|
29
32
|
}
|
|
@@ -17,15 +17,22 @@
|
|
|
17
17
|
<a class="urlforslides" style="font-size: 200%"></a>
|
|
18
18
|
|
|
19
19
|
*/
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
function showLinkToSlidesAndQrCode(deck, url) {
|
|
21
23
|
if (url === undefined)
|
|
22
24
|
return
|
|
23
25
|
|
|
24
26
|
let qrElements = deck.getSlidesElement().getElementsByClassName('qrcodeforslides')
|
|
25
27
|
for (let qrel of qrElements) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
|
|
29
|
+
new QRCode(qrel, {
|
|
30
|
+
text: url,
|
|
31
|
+
width: 500,
|
|
32
|
+
height: 500,
|
|
28
33
|
});
|
|
34
|
+
|
|
35
|
+
console.log("QR Code for slides generated", qrel, url)
|
|
29
36
|
}
|
|
30
37
|
|
|
31
38
|
let urlElements = deck.getSlidesElement().getElementsByClassName('urlforslides')
|