TOP SPACE added

This commit is contained in:
Luis Fernando Molina committed 2018-05-30 16:00:43 +02:00
1 parent a6aa47da45
commit 496ac71220
12 files changed
+129 -369

No files matched your search

+7 -7
View File
@@ -107,7 +107,7 @@ function newAnimation() {
function animationLoop(callBackFunction) {
//try {
try {
if (INFO_LOG === true) { logger.write("[INFO] animationLoop -> Entering function."); }
@@ -127,14 +127,14 @@ function newAnimation() {
animationLoopHandle = window.requestAnimationFrame(animationLoop);
// } catch (err) {
} catch (err) {
// if (ERROR_LOG === true) { logger.write("[ERROR] animationLoop -> err = " + err); }
if (ERROR_LOG === true) { logger.write("[ERROR] animationLoop -> err = " + err); }
// if (callBackFunction !== undefined) { // When the loop is called by the browser there will be no callBackFunction.
// callBackFunction(GLOBAL.DEFAULT_FAIL_RESPONSE);
// }
// }
if (callBackFunction !== undefined) { // When the loop is called by the browser there will be no callBackFunction.
callBackFunction(GLOBAL.DEFAULT_FAIL_RESPONSE);
}
}
}
function clearBrowserCanvas() {