vendor/assets/src/index_server_wasm.html in atome-0.5.6.3.1 vs vendor/assets/src/index_server_wasm.html in atome-0.5.6.3.5

- old
+ new

@@ -18,39 +18,32 @@ <script type="text/javascript" src="js/third_parties/ping.min.js" defer></script> <script type="text/javascript" src="js/third_parties/fabric.min.js" defer></script> <script type="text/javascript" src="js/third_parties/papaparse.min.js" defer></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>--> + <!-- <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 2023</div> +<div id='copyright'>©atome 2024</div> </body> <script type="text/ruby"> require 'js' require '/lib/platform_specific/wasm/atome_wasm_extensions' require '/utilities/aui' require '/utilities/host_mode' require '/lib/atome_relative' require './index' - #puts Universe.host - atome_genesis + atome_infos </script> <script defer src="js/atome/specific/wasm.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); - } +<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> </html>