Adaptation for CanvasApp new global variables inside a context

This commit is contained in:
Luis Fernando Molina committed 2018-10-25 10:49:46 +02:00
1 parent bb72fe23a6
commit 2d81cf446c
3 files changed
+15 -10

No files matched your search

+12 -7
View File
@@ -18,17 +18,22 @@
<script type="text/javascript">
function loadCanvas(){
window.SESSION_TOKEN = ''
window.EXECUTING_AT = 'Master App'
window.TOP_MARGIN = 25
window.URL_PREFIX = 'https://develop.advancedalgos.net/'
window.CANVAS_VISIBLE = true
window.canvasApp = {
sessionToken: '',
executingAt: 'Master App',
visible: true,
topMargin: 25,
urlPrefix: 'https://develop.advancedalgos.net/' /* 'http://localhost:1337/' */ /* 'https://develop.advancedalgos.net/' */
};
loadAdvancedAlgosPlatform();
}
</script>
</head>
<body id="body" onload="loadCanvas()">
<div id="root"></div>
<div id="canvasDiv"></div>
<div id="masterApp"></div>
<div id="canvasApp"></div>
</body>
</html>