Refactoring window.CANVAS_VISIBLE -> window.canvasApp.visible

This commit is contained in:
Luis Fernando Molina committed 2018-10-25 09:57:55 +02:00
1 parent 430d87070a
commit 10b069b6e5
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ function newAnimation() {
clearBrowserCanvas();
if (window.CANVAS_VISIBLE === true) {
if (window.canvasApp.visible === true) {
/* We set the canvas to its normal width and height */
+2 -2
View File
@@ -15,7 +15,7 @@
window.canvasApp = {
sessionToken: '',
executingAt: 'Master App',
visible = true,
visible: true,
topMargin: 85,
urlPrefix: 'https://develop.advancedalgos.net/' /* 'http://localhost:1337/' */
};
@@ -23,7 +23,7 @@
window.canvasApp.sessionToken = '';
window.canvasApp.executingAt = 'Master App';
window.canvasApp.topMargin = 85;
window.CANVAS_VISIBLE = true;
window.canvasApp.visible = true;
window.URL_PREFIX = 'https://develop.advancedalgos.net/';
//window.URL_PREFIX = 'http://localhost:1337/';