diff options
author | Lars Kappert <lars@webpro.nl> | 2013-01-30 00:09:02 +0100 |
---|---|---|
committer | Lars Kappert <lars@webpro.nl> | 2013-01-30 00:09:02 +0100 |
commit | 7207122c75137c0d2c7dfd0e1d9a1a0e9bf0a88f (patch) | |
tree | 6d327180e9d65e9b3bb84bee6e777ae739d33479 | |
parent | 5dd63e4919b58bde83591590bacf37a1f091fa2a (diff) | |
download | perl-software-in-gnu-guix-7207122c75137c0d2c7dfd0e1d9a1a0e9bf0a88f.tar perl-software-in-gnu-guix-7207122c75137c0d2c7dfd0e1d9a1a0e9bf0a88f.tar.gz |
Slightly refactored "slidify" flow
-rw-r--r-- | plugin/markdown/markdown.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 8d40019..ae4d08b 100644 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -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(); })(); |