mirror of
https://github.com/astefanutti/decktape.git
synced 2024-11-22 04:02:21 +03:00
Current reveal plugin options are flags
This commit is contained in:
parent
345b745563
commit
cad6569471
@ -3,10 +3,12 @@ import URI from 'urijs';
|
||||
export const options = {
|
||||
fragments: {
|
||||
default : false,
|
||||
flag : true,
|
||||
help : 'Enable or disable fragments',
|
||||
},
|
||||
progress: {
|
||||
default : false,
|
||||
flag : true,
|
||||
help : 'Enable or disable progress bar',
|
||||
},
|
||||
};
|
||||
@ -17,9 +19,8 @@ class Reveal {
|
||||
|
||||
constructor(page, opts) {
|
||||
this.page = page;
|
||||
this.options = opts;
|
||||
this.fragments = this.options.fragments;
|
||||
this.progress = this.options.progress;
|
||||
this.fragments = opts.fragments;
|
||||
this.progress = opts.progress;
|
||||
}
|
||||
|
||||
getName() {
|
||||
|
Loading…
Reference in New Issue
Block a user