Slightly refactored "slidify" flow

This commit is contained in:
Lars Kappert 2013-01-30 00:09:02 +01:00
parent 5dd63e4919
commit 7207122c75

View File

@ -81,7 +81,7 @@
return markdownSections; return markdownSections;
}; };
var queryMarkdownSlides = function() { var querySlidingMarkdown = function() {
var sections = document.querySelectorAll( '[data-markdown]'), var sections = document.querySelectorAll( '[data-markdown]'),
section; section;
@ -112,11 +112,9 @@
} }
} }
querySlides();
}; };
var querySlides = function() { var queryMarkdownSlides = function() {
var sections = document.querySelectorAll( '[data-markdown]'); var sections = document.querySelectorAll( '[data-markdown]');
@ -142,6 +140,8 @@
}; };
querySlidingMarkdown();
queryMarkdownSlides(); queryMarkdownSlides();
})(); })();