diff --git a/js/prototype/ReplayCamera.js b/js/prototype/ReplayCamera.js index 62bd030..f45c0c3 100644 --- a/js/prototype/ReplayCamera.js +++ b/js/prototype/ReplayCamera.js @@ -48,11 +48,12 @@ ReplayCamera.prototype.update = function(time) { this.linearMotion(time / 5); } else if (this.event.type == 'arrow') { this.hermiteMotion(time); - } else if (this.event.type == 'coin') { - // Nothing to do - } else if (this.event.type == 'reset') { - // Nothing to do } + // } else if (this.event.type == 'coin') { + // // Nothing to do + // } else if (this.event.type == 'reset') { + // // Nothing to do + // } } } diff --git a/js/prototype/main.js b/js/prototype/main.js index 6c0ec6b..fe22abe 100644 --- a/js/prototype/main.js +++ b/js/prototype/main.js @@ -19,11 +19,6 @@ var isFullscreen = false; var previousTime; var main_section = document.getElementById('main-section'); -var offset = function() { - return - document.getElementById('nav').offsetHeight - + document.getElementById('main-div').offsetHeight; -} console.log(document.getElementById('main-div').offsetHeight); var container_size = { diff --git a/js/prototype/tutorial.js b/js/prototype/tutorial.js index 444b52e..3d9e356 100644 --- a/js/prototype/tutorial.js +++ b/js/prototype/tutorial.js @@ -19,11 +19,6 @@ var previousTime; var tutorial; var main_section = document.getElementById('main-section'); -var offset = function() { - return - document.getElementById('nav').offsetHeight - + document.getElementById('main-div').offsetHeight; -} console.log(document.getElementById('main-div').offsetHeight); var container_size = {