1234567891011121314151617181920212223242526272829303132 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Amber Mini MVP</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
- <meta name="author" content="Herby Vojčík"/>
- <script type='text/javascript' src='the.js'></script>
- </head>
- <body>
- <script type='text/javascript'>
- var global = typeof global === "undefined" ? window : global || window;
- require(['app'], function (amberPromise) {
- amberPromise.then(function (amber) {
- amber.initialize({
- //used for all new packages in IDE
- 'transport.defaultAmdNamespace': "mini-mvp"
- }).then(function () {
- // This shows IDE dialog in development mode (module is present).
- // This silently fails in deploy mode (module is missing).
- // Thus, no need to have different page for deploy, leading to less bugs.
- require(["amber-ide-starter-dialog"], function (dlg) {
- dlg.start();
- });
- });
- });
- });
- </script>
- </body>
- </html>
|