Slightly refactored "slidify" flow
This commit is contained in:
parent
5dd63e4919
commit
7207122c75
|
@ -81,7 +81,7 @@
|
|||
return markdownSections;
|
||||
};
|
||||
|
||||
var queryMarkdownSlides = function() {
|
||||
var querySlidingMarkdown = function() {
|
||||
|
||||
var sections = document.querySelectorAll( '[data-markdown]'),
|
||||
section;
|
||||
|
@ -112,11 +112,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
querySlides();
|
||||
|
||||
};
|
||||
|
||||
var querySlides = function() {
|
||||
var queryMarkdownSlides = function() {
|
||||
|
||||
var sections = document.querySelectorAll( '[data-markdown]');
|
||||
|
||||
|
@ -142,6 +140,8 @@
|
|||
|
||||
};
|
||||
|
||||
querySlidingMarkdown();
|
||||
|
||||
queryMarkdownSlides();
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue
Block a user