Skip to content

Commit

Permalink
Remove logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bruntonspall committed Jun 7, 2012
1 parent 3b4230f commit b35a269
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions slides.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ function updateSlides() {
speakAndSyncToNode(slideEls[curSlide]);
}

console.log("At slide "+curSlide+" with classes: "+slideEls[curSlide].classList);
console.log(getSlideEl(curSlide).dataset);
if (slideEls[curSlide].classList.contains("auto")) {
var timeout = getSlideEl(curSlide).dataset["buildTime"];
autoBuildSlide(timeout || 1000);
Expand All @@ -273,9 +271,7 @@ function updateSlides() {
}

function autoBuildSlide(timeout) {
console.log("Starting autobuild every "+timeout+"ms");
function doBuild() {
console.log("autobuild");
if (buildNextItem()) {
setTimeout(doBuild, timeout);
}
Expand Down Expand Up @@ -656,9 +652,6 @@ function makeBuildLists() {

function handleDomLoaded() {
slideEls = document.querySelectorAll('section.slides > article');
for (i=0; i < slideEls.length, s=slideEls[i]; ++i) {
console.log("Slide "+i+" with classes: "+s.classList);
}

addFontStyle();
addGeneralStyle();
Expand Down

0 comments on commit b35a269

Please sign in to comment.