Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
2
2015-12-uni-ffm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CmS
2015-12-uni-ffm
Commits
31438c88
Commit
31438c88
authored
11 years ago
by
Hakim El Hattab
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' of github.com:hakimel/reveal.js
parents
599bef5f
3d2549d4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+7
-0
7 additions, 0 deletions
README.md
test/test.js
+16
-0
16 additions, 0 deletions
test/test.js
with
23 additions
and
0 deletions
README.md
+
7
−
0
View file @
31438c88
...
...
@@ -499,6 +499,13 @@ By default, Reveal is configured with [highlight.js](http://softwaremaniacs.org/
</section>
```
### Slide number
If you would like to display the page number of the current slide you can do so using the
```slideNumber```
configuration value.
```
javascript
Reveal
.
configure
({
slideNumber
:
true
});
```
### Overview mode
...
...
This diff is collapsed.
Click to expand it.
test/test.js
+
16
−
0
View file @
31438c88
...
...
@@ -11,6 +11,22 @@
Reveal
.
addEventListener
(
'
ready
'
,
function
()
{
// ---------------------------------------------------------------
// DOM TESTS
QUnit
.
module
(
'
DOM
'
);
test
(
'
Initial slides classes
'
,
function
()
{
var
horizontalSlides
=
document
.
querySelectorAll
(
'
.reveal .slides>section
'
)
strictEqual
(
document
.
querySelectorAll
(
'
.reveal .slides section.past
'
).
length
,
0
,
'
no .past slides
'
);
strictEqual
(
document
.
querySelectorAll
(
'
.reveal .slides section.present
'
).
length
,
1
,
'
one .present slide
'
);
strictEqual
(
document
.
querySelectorAll
(
'
.reveal .slides>section.future
'
).
length
,
horizontalSlides
.
length
-
1
,
'
remaining horizontal slides are .future
'
);
strictEqual
(
document
.
querySelectorAll
(
'
.reveal .slides section.stack
'
).
length
,
2
,
'
two .stacks
'
);
ok
(
document
.
querySelectorAll
(
'
.reveal .slides section.stack
'
)[
0
].
querySelectorAll
(
'
.future
'
).
length
>
0
,
'
vertical slides are given .future
'
);
});
// ---------------------------------------------------------------
// API TESTS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment