JSHint cleaning
This commit is contained in:
4
js/l3d/apps/prototype/interactive/main.js
vendored
4
js/l3d/apps/prototype/interactive/main.js
vendored
@@ -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); };
|
||||
|
||||
2
js/l3d/apps/prototype/tutorial/main.js
vendored
2
js/l3d/apps/prototype/tutorial/main.js
vendored
@@ -36,7 +36,7 @@ window.onbeforeunload = function() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
function main() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user