2
0

index.html 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Hello Application</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="author" content="hhzl" />
  7. <script type='text/javascript' src='the.js'></script>
  8. </head>
  9. <body>
  10. <p>Hi, hhzl! Welcome to Amber project: "Hello Application".</p>
  11. <p>This is the place for your application's HTML. After getting familiar with Amber,
  12. just remove this welcome contents from index.html and replace it with your own.</p>
  13. <button id="amber-with">Hello from TagBrush >> with:</button>
  14. <button id="jquery-append">Hello from jQuery append</button>
  15. <ol id="output-list"></ol>
  16. <script type='text/javascript'>
  17. require(['app'], function (amber) {
  18. amber.initialize({
  19. //used for all new packages in IDE
  20. 'transport.defaultAmdNamespace': "amber-helloapp"
  21. });
  22. require(["amber-ide-starter-dialog"], function (dlg) { dlg.start(); });
  23. amber.globals.HelloApp._start();
  24. });
  25. </script>
  26. </body>
  27. </html>