JSHint cleaning

This commit is contained in:
Thomas FORGIONE
2015-10-06 16:58:04 +02:00
parent 5c82adbff4
commit 688223eb58
6 changed files with 30 additions and 29 deletions

View File

@@ -5,7 +5,7 @@ var onWindowResize = (function() {
L3D.ProgressiveLoader.onFinished = function() {
if (coins.length === 0 || coins[0].mesh == undefined) {
if (coins.length === 0 || coins[0].mesh === undefined) {
setTimeout(L3D.ProgressiveLoader.onFinished, 500);
return;
}
@@ -17,7 +17,7 @@ L3D.ProgressiveLoader.onFinished = function() {
loadingCanvas.clear();
L3D.DB.enable();
camera1.reset();
}
};
// Disable scrolling
window.onscroll = function () { window.scrollTo(0, 0); };

View File

@@ -36,7 +36,7 @@ window.onbeforeunload = function() {
}
}
};
function main() {