2
0

index.html 1.1 KB

123456789101112131415161718192021222324252627282930
  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 = {
  9. baseUrl: "..",
  10. map: {"*": {"amber/Platform": "amber_core/Platform-Browser"}}
  11. };
  12. </script>
  13. <script type='text/javascript' src='../node_modules/requirejs/require.js'></script>
  14. <script type='text/javascript' src='../config.js'></script>
  15. </head>
  16. <body>
  17. <script type='text/javascript'>
  18. require(
  19. ["amber/devel", "amber/legacy/IDE", "amber/web/Web", "amber/legacy/Benchfib", "helios/all", "amber_cli/AmberCli"],
  20. function (amber) {
  21. amber.initialize({'transport.defaultAmdNamespace': "amber_core"});
  22. }
  23. );
  24. </script>
  25. <p>To start legacy in-page IDE, <a href="#" onclick="require('amber/helpers').globals.Browser._open(); return false;">click here</a>.</p>
  26. <p>To popup Helios IDE, <a href="#" onclick="require('amber/helpers').popupHelios(); return false;">click here</a>.</p>
  27. </body>
  28. </html>