vendor/assets/src/index_server.html in atome-0.5.6.6.9 vs vendor/assets/src/index_server.html in atome-0.5.6.7.3

- old
+ new

@@ -23,16 +23,11 @@ <script defer defer src='js/host_mode.js'></script> <script defer src='js/opal/atome_opal_extensions.js'></script> <script defer src='js/atome/kernel.js'></script> <script defer src="js/atome/atome_helpers/communication.js" type="text/javascript"></script> <script defer src="js/atome/atome_helpers/file.js" type="text/javascript"></script> -<!-- <script>--> -<!-- // to prevent right click--> -<!-- document.addEventListener("contextmenu", function (e) {--> -<!-- e.preventDefault();--> -<!-- });--> -<!-- </script>--> + <title>atome</title> </head> <body id='user_view' class='atome'> <div id='copyright'>©atome 2024</div> </body> @@ -40,20 +35,20 @@ <script type="text/javascript"> const NativeMode = false; // used by atome.js to load code on the fly </script> <script defer src="js/atome/atome.js" type="text/javascript"></script> <script> - function loadApplicationJs() { - var script = document.createElement('script'); - script.src = 'js/application.js'; - script.onload = function() { - rubyVMCallback("A.init_database"); - }; - document.body.appendChild(script); - } - - window.addEventListener('load', function () { - rubyVMCallback('atome_genesis'); - }) + // function loadApplicationJs() { + // var script = document.createElement('script'); + // script.src = 'js/application.js'; + // script.onload = function() { + // rubyVMCallback("A.init_database"); + // }; + // document.body.appendChild(script); + // } + // + // window.addEventListener('load', function () { + // rubyVMCallback('atome_genesis'); + // }) </script> </html> \ No newline at end of file