23 lines
447 B
JavaScript
23 lines
447 B
JavaScript
/**
|
|
* Copyright (c) 2020-2025, JGraph Holdings Ltd
|
|
* Copyright (c) 2020-2025, draw.io AG
|
|
*/
|
|
/**
|
|
* Main
|
|
*/
|
|
if (typeof AJS === 'undefined') // conf insists on pulling in this file into batch.js for atlas-debug
|
|
{
|
|
if (urlParams['dev'] != '1' && typeof document.createElement('canvas').getContext === "function")
|
|
{
|
|
window.addEventListener('load', function()
|
|
{
|
|
mxWinLoaded = true;
|
|
checkAllLoaded();
|
|
});
|
|
}
|
|
else
|
|
{
|
|
App.main();
|
|
}
|
|
}
|