index.html 888 B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Lite mite wrapping basic DOM for Amber Smalltalk</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6. <meta name="author" content="Herbert Vojčík"/>
  7. <script type='text/javascript' src='the.js'></script>
  8. </head>
  9. <body>
  10. <script type='text/javascript'>
  11. var global = typeof global === "undefined" ? window : global || window;
  12. new Promise(function (resolve, reject) {
  13. require(['app'], resolve, reject);
  14. })
  15. .then(function (amber) {
  16. return amber.initialize({
  17. //used for all new packages in IDE
  18. 'transport.defaultAmdNamespace': "domite"
  19. });
  20. })
  21. .then(function () {
  22. require(["amber-ide-starter-dialog"], function (dlg) {
  23. dlg.start();
  24. });
  25. });
  26. </script>
  27. </body>
  28. </html>