mirror of
https://github.com/astefanutti/decktape.git
synced 2024-11-30 10:34:30 +03:00
Update Reveal.js min version compatibility check
This commit is contained in:
parent
6df0cffa97
commit
d16dbbe725
@ -21,8 +21,8 @@ class Reveal {
|
||||
// Let's delegate to the RISE plugin
|
||||
return false;
|
||||
}
|
||||
if (!(typeof Reveal.isLastSlide === 'function')) {
|
||||
console.log('Reveal JS plugin isn\'t compatible with reveal.js version < 2.3.0');
|
||||
if (!(typeof Reveal.availableFragments === 'function')) {
|
||||
console.log('Reveal JS plugin isn\'t compatible with reveal.js version < 2.4.0');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user