From: Lars Kappert Date: Tue, 29 Jan 2013 23:09:02 +0000 (+0100) Subject: Slightly refactored "slidify" flow X-Git-Tag: 2.3.0~37^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7207122c75137c0d2c7dfd0e1d9a1a0e9bf0a88f;p=reveal.js.git Slightly refactored "slidify" flow --- 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(); })();