index.html 812 B

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Amber legacy items</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6. <meta name="author" content="Amber contributors"/>
  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. }).then(function (amber) {
  15. return amber.initialize({
  16. //used for all new packages in IDE
  17. 'transport.defaultAmdNamespace': "amber/legacy"
  18. });
  19. }).then(function () {
  20. require(["amber-ide-starter-dialog"], function (dlg) {
  21. dlg.start();
  22. });
  23. });
  24. </script>
  25. </body>
  26. </html>