Cleaning
This commit is contained in:
parent
7f6daec0f4
commit
aa77d182fd
9
js/prototype/ReplayCamera.js
vendored
9
js/prototype/ReplayCamera.js
vendored
@ -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
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
5
js/prototype/main.js
vendored
5
js/prototype/main.js
vendored
@ -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 = {
|
||||
|
5
js/prototype/tutorial.js
vendored
5
js/prototype/tutorial.js
vendored
@ -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…
x
Reference in New Issue
Block a user