Skip to content

Commit

Permalink
Merge pull request #1 from zgeorgii/roughdraft
Browse files Browse the repository at this point in the history
deleted some extra comments
  • Loading branch information
zgeorgii committed Jan 20, 2016
2 parents 0db6505 + 45e01d9 commit fe1a113
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,42 +89,3 @@ displayImages();
// displayImg();
// }
// }


// var usedImgCenter = {};
// var imgCenterCount = 0;
//
// function displayImgCenter(){
// var img1 = Math.floor(Math.random() * (images.length));
// if(!usedImgCenter[img1]){
// document.imgCenter.src = images[img1];
// usedImgCenter[img1] = true;
// imgCenterCount++;
// if (imgCenterCount === images.length){
// imgCenterCount = 0;
// usedImgCenter = {};
// }
// }
// else {
// displayImgLeft();
// }
// }
//
// var usedImgRight = {};
// var imgRightCount = 0;
//
// function displayImgRight(){
// var img1 = Math.floor(Math.random() * (images.length));
// if(!usedImgRight[img1]){
// document.imgRight.src = images[img1];
// usedImgRight[img1] = true;
// imgRightCount++;
// if (imgRightCount === images.length){
// imgRightCount = 0;
// usedImgRight = {};
// }
// }
// else {
// displayImgRight();
// }
// }

0 comments on commit fe1a113

Please sign in to comment.