Cleaning
This commit is contained in:
parent
7f6daec0f4
commit
aa77d182fd
|
@ -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
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue