Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Seales
Kubernetes Presentation
Commits
a1f03cb3
Commit
a1f03cb3
authored
May 19, 2020
by
Hakim El Hattab
Browse files
Reveal.VERSION is now available prior to initialization #2651
parent
feb43ffd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
dist/reveal.esm.js
View file @
a1f03cb3
This diff is collapsed.
Click to expand it.
dist/reveal.js
View file @
a1f03cb3
This diff is collapsed.
Click to expand it.
js/index.js
View file @
a1f03cb3
import
Deck
from
'
./reveal.js
'
import
Deck
,
{
VERSION
}
from
'
./reveal.js
'
/**
* Expose the Reveal class to the window. To create a
...
...
@@ -51,4 +51,6 @@ Reveal.initialize = options => {
}
}
);
Reveal
.
VERSION
=
VERSION
;
export
default
Reveal
;
\ No newline at end of file
js/reveal.js
View file @
a1f03cb3
...
...
@@ -25,6 +25,9 @@ import {
POST_MESSAGE_METHOD_BLACKLIST
}
from
'
./utils/constants.js
'
// The reveal.js version
export
const
VERSION
=
'
4.0.0-rc.1
'
;
/**
* reveal.js
* https://revealjs.com
...
...
@@ -43,9 +46,6 @@ export default function( revealElement, options ) {
const
Reveal
=
{};
// The reveal.js version
const
VERSION
=
'
4.0.0-rc.1
'
;
// Configuration defaults, can be overridden at initialization time
let
config
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment