Refactoring window.CANVAS_VISIBLE -> window.canvasApp.visible
This commit is contained in:
1 parent
430d87070a
commit
10b069b6e5
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
@@ -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/';
|
||||
|
||||
|
||||
Reference in new issue
Block a user