Skip to content

Commit 91e2b10

Browse files
committed
index.html update to reveal.js v.4.1.0
1 parent 6321f3a commit 91e2b10

File tree

4 files changed

+118
-175
lines changed

4 files changed

+118
-175
lines changed

module1/index.html

Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,13 @@
99
<meta name="description" content="OOP">
1010
<meta name="author" content="Mateusz Adamski & Łukasz Ziobroń">
1111

12-
<link rel="stylesheet" href="../../css/reset.css">
13-
<link rel="stylesheet" href="../../css/reveal.css">
14-
<link rel="stylesheet" href="../../css/theme/coders.css" id="theme">
12+
<link rel="stylesheet" href="../../dist/reset.css">
13+
<link rel="stylesheet" href="../../dist/reveal.css">
14+
<link rel="stylesheet" href="../../dist/theme/coders.css" id="theme">
1515

1616
<!-- Theme used for syntax highlighting of code -->
17-
<link rel="stylesheet" href="../../lib/css/monokai.css">
17+
<link rel="stylesheet" href="../../plugin/highlight/monokai.css">
1818

19-
<!-- Printing and PDF exports -->
20-
<script>
21-
var link = document.createElement( 'link' );
22-
link.rel = 'stylesheet';
23-
link.type = 'text/css';
24-
link.href = window.location.search.match( /print-pdf/gi ) ? '../../css/print/pdf.css' : '../../css/print/paper.css';
25-
document.getElementsByTagName( 'head' )[0].appendChild( link );
26-
</script>
2719
</head>
2820
<body>
2921
<div class="reveal">
@@ -83,7 +75,7 @@ <h3>Łukasz Ziobroń</h3>
8375
<!--
8476
Note that Windows uses `\r\n` instead of `\n` as its linefeed character.
8577
For a regex that supports all operating systems, use `\r?\n` instead of `\n`.
86-
78+
8779
Usage:
8880
Install dependencies
8981
@@ -94,7 +86,7 @@ <h3>Łukasz Ziobroń</h3>
9486
Open http://localhost:8000 to view your presentation
9587
9688
You can change the port by using npm start -- --port=8001.
97-
-->
89+
-->
9890
<section data-markdown="presentation_oop_intro.md"
9991
data-separator-vertical="^___"
10092
data-separator-notes="^Note:">
@@ -128,26 +120,20 @@ <h1>Coders School</h1>
128120
</div>
129121
</div>
130122

131-
<script src="../../js/reveal.js"></script>
123+
<script src="../../dist/reveal.js"></script>
124+
<script src="../../plugin/notes/notes.js"></script>
125+
<script src="../../plugin/markdown/markdown.js"></script>
126+
<script src="../../plugin/highlight/highlight.js"></script>
132127

133128
<script>
134-
// More info about config & dependencies:
135-
// - https://github.com/hakimel/reveal.js#configuration
136-
// - https://github.com/hakimel/reveal.js#dependencies
137129
Reveal.initialize({
138-
width: 1200,
139-
height: 750,
140-
slideNumber: true,
141-
hash: true,
142-
pdfSeparateFragments: false,
143-
dependencies: [
144-
{ src: '../../plugin/externalcode/externalcode.js', condition: function() { return !!document.querySelector( '[data-code]' ); } },
145-
{ src: '../../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
146-
{ src: '../../plugin/markdown/marked.js' },
147-
{ src: '../../plugin/markdown/markdown.js' },
148-
{ src: '../../plugin/notes/notes.js', async: true }
149-
]
130+
width: 1200,
131+
height: 750,
132+
slideNumber: true,
133+
hash: true,
134+
pdfSeparateFragments: false,
135+
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
150136
});
151-
</script>
137+
</script>
152138
</body>
153139
</html>

module2/index.html

Lines changed: 18 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,13 @@
99
<meta name="description" content="OOP">
1010
<meta name="author" content="Mateusz Adamski & Łukasz Ziobroń">
1111

12-
<link rel="stylesheet" href="../../css/reset.css">
13-
<link rel="stylesheet" href="../../css/reveal.css">
14-
<link rel="stylesheet" href="../../css/theme/coders.css" id="theme">
12+
<link rel="stylesheet" href="../../dist/reset.css">
13+
<link rel="stylesheet" href="../../dist/reveal.css">
14+
<link rel="stylesheet" href="../../dist/theme/coders.css" id="theme">
1515

1616
<!-- Theme used for syntax highlighting of code -->
17-
<link rel="stylesheet" href="../../lib/css/monokai.css">
17+
<link rel="stylesheet" href="../../plugin/highlight/monokai.css">
1818

19-
<!-- Printing and PDF exports -->
20-
<script>
21-
var link = document.createElement( 'link' );
22-
link.rel = 'stylesheet';
23-
link.type = 'text/css';
24-
link.href = window.location.search.match( /print-pdf/gi ) ? '../../css/print/pdf.css' : '../../css/print/paper.css';
25-
document.getElementsByTagName( 'head' )[0].appendChild( link );
26-
</script>
2719
</head>
2820
<body>
2921
<div class="reveal">
@@ -56,7 +48,7 @@ <h3>Łukasz Ziobroń</h3>
5648

5749
Możliwe, że dzisiaj nie przerobimy wszystkiego. Będzie na kolejną lekcję :)
5850
<!-- .element: class="fragment fade-in" -->
59-
51+
6052
</textarea>
6153
</section>
6254
<section data-markdown>
@@ -85,7 +77,7 @@ <h3>Łukasz Ziobroń</h3>
8577
<!--
8678
Note that Windows uses `\r\n` instead of `\n` as its linefeed character.
8779
For a regex that supports all operating systems, use `\r?\n` instead of `\n`.
88-
80+
8981
Usage:
9082
Install dependencies
9183
@@ -96,7 +88,7 @@ <h3>Łukasz Ziobroń</h3>
9688
Open http://localhost:8000 to view your presentation
9789
9890
You can change the port by using npm start -- --port=8001.
99-
-->
91+
-->
10092
<section data-markdown="presentation_inheritance.md"
10193
data-separator-vertical="^___"
10294
data-separator-notes="^Note:">
@@ -130,26 +122,20 @@ <h1>Coders School</h1>
130122
</div>
131123
</div>
132124

133-
<script src="../../js/reveal.js"></script>
125+
<script src="../../dist/reveal.js"></script>
126+
<script src="../../plugin/notes/notes.js"></script>
127+
<script src="../../plugin/markdown/markdown.js"></script>
128+
<script src="../../plugin/highlight/highlight.js"></script>
134129

135130
<script>
136-
// More info about config & dependencies:
137-
// - https://github.com/hakimel/reveal.js#configuration
138-
// - https://github.com/hakimel/reveal.js#dependencies
139131
Reveal.initialize({
140-
width: 1200,
141-
height: 750,
142-
slideNumber: true,
143-
hash: true,
144-
pdfSeparateFragments: false,
145-
dependencies: [
146-
{ src: '../../plugin/externalcode/externalcode.js', condition: function() { return !!document.querySelector( '[data-code]' ); } },
147-
{ src: '../../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
148-
{ src: '../../plugin/markdown/marked.js' },
149-
{ src: '../../plugin/markdown/markdown.js' },
150-
{ src: '../../plugin/notes/notes.js', async: true }
151-
]
132+
width: 1200,
133+
height: 750,
134+
slideNumber: true,
135+
hash: true,
136+
pdfSeparateFragments: false,
137+
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
152138
});
153-
</script>
139+
</script>
154140
</body>
155141
</html>

module3/index.html

Lines changed: 18 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,13 @@
99
<meta name="description" content="OOP">
1010
<meta name="author" content="Mateusz Adamski & Łukasz Ziobroń">
1111

12-
<link rel="stylesheet" href="../../css/reset.css">
13-
<link rel="stylesheet" href="../../css/reveal.css">
14-
<link rel="stylesheet" href="../../css/theme/coders.css" id="theme">
12+
<link rel="stylesheet" href="../../dist/reset.css">
13+
<link rel="stylesheet" href="../../dist/reveal.css">
14+
<link rel="stylesheet" href="../../dist/theme/coders.css" id="theme">
1515

1616
<!-- Theme used for syntax highlighting of code -->
17-
<link rel="stylesheet" href="../../lib/css/monokai.css">
17+
<link rel="stylesheet" href="../../plugin/highlight/monokai.css">
1818

19-
<!-- Printing and PDF exports -->
20-
<script>
21-
var link = document.createElement( 'link' );
22-
link.rel = 'stylesheet';
23-
link.type = 'text/css';
24-
link.href = window.location.search.match( /print-pdf/gi ) ? '../../css/print/pdf.css' : '../../css/print/paper.css';
25-
document.getElementsByTagName( 'head' )[0].appendChild( link );
26-
</script>
2719
</head>
2820
<body>
2921
<div class="reveal">
@@ -54,7 +46,7 @@ <h3>Łukasz Ziobroń</h3>
5446
7. <!-- .element: class="fragment fade-in" --> przykładowe rozwiązania zadań z OOP#1
5547
7. <!-- .element: class="fragment fade-in" --> polimorfizm
5648
8. <!-- .element: class="fragment fade-in" --> pola i metody statyczne
57-
49+
5850
</textarea>
5951
</section>
6052
<section data-markdown>
@@ -86,7 +78,7 @@ <h3>Łukasz Ziobroń</h3>
8678
<!--
8779
Note that Windows uses `\r\n` instead of `\n` as its linefeed character.
8880
For a regex that supports all operating systems, use `\r?\n` instead of `\n`.
89-
81+
9082
Usage:
9183
Install dependencies
9284
@@ -97,7 +89,7 @@ <h3>Łukasz Ziobroń</h3>
9789
Open http://localhost:8000 to view your presentation
9890
9991
You can change the port by using npm start -- --port=8001.
100-
-->
92+
-->
10193
<section data-markdown="presentation_solutions.md"
10294
data-separator-vertical="^___"
10395
data-separator-notes="^Note:">
@@ -123,26 +115,20 @@ <h1>Coders School</h1>
123115
</div>
124116
</div>
125117

126-
<script src="../../js/reveal.js"></script>
118+
<script src="../../dist/reveal.js"></script>
119+
<script src="../../plugin/notes/notes.js"></script>
120+
<script src="../../plugin/markdown/markdown.js"></script>
121+
<script src="../../plugin/highlight/highlight.js"></script>
127122

128123
<script>
129-
// More info about config & dependencies:
130-
// - https://github.com/hakimel/reveal.js#configuration
131-
// - https://github.com/hakimel/reveal.js#dependencies
132124
Reveal.initialize({
133-
width: 1200,
134-
height: 750,
135-
slideNumber: true,
136-
hash: true,
137-
pdfSeparateFragments: false,
138-
dependencies: [
139-
{ src: '../../plugin/externalcode/externalcode.js', condition: function() { return !!document.querySelector( '[data-code]' ); } },
140-
{ src: '../../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
141-
{ src: '../../plugin/markdown/marked.js' },
142-
{ src: '../../plugin/markdown/markdown.js' },
143-
{ src: '../../plugin/notes/notes.js', async: true }
144-
]
125+
width: 1200,
126+
height: 750,
127+
slideNumber: true,
128+
hash: true,
129+
pdfSeparateFragments: false,
130+
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
145131
});
146-
</script>
132+
</script>
147133
</body>
148134
</html>

0 commit comments

Comments
 (0)