1
0

index.html 1.0 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Amber Smalltalk</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6. <meta name="author" content="Nicolas Petton"/>
  7. <script>
  8. var require = {baseUrl: ".."};
  9. </script>
  10. <script type='text/javascript' src='../node_modules/requirejs/require.js'></script>
  11. <script type='text/javascript' src='../config.js'></script>
  12. </head>
  13. <body>
  14. <script type='text/javascript'>
  15. // require.config({baseUrl: '..'});
  16. require(
  17. ["amber/devel", "amber-attic/IDE", "amber-contrib-web/Web", "amber-attic/Benchfib", "helios/all", "amber_cli/AmberCli"],
  18. function (amber) {
  19. amber.initialize({'transport.defaultAmdNamespace': "amber_core"});
  20. }
  21. );
  22. </script>
  23. <p>To start legacy in-page IDE, <a href="#" onclick="require('amber/helpers').globals.Browser._open(); return false;">click here</a>.</p>
  24. <p>To popup Helios IDE, <a href="#" onclick="require('amber/helpers').popupHelios(); return false;">click here</a>.</p>
  25. </body>
  26. </html>