Reveal.VERSION is now available prior to initialization #2651

This commit is contained in:
Hakim El Hattab
2020-05-19 20:27:45 +02:00
parent feb43ffdc9
commit a1f03cb337
4 changed files with 8 additions and 6 deletions

View File

@@ -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,