index.html 808 B

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