Skip to content

draw.io is a JavaScript, client-side editor for general diagramming.

447 B
Raw Blame
/**
 * 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();
	}
}