1234567891011121314151617181920212223242526272829303132333435 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>WebStore</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta name="author" content="GeneralFailure" />
- <script type="text/javascript" src="the.js"></script>
- </head>
- <body>
- <script type="text/javascript">
- var globalThis =
- typeof globalThis === "undefined" ? window : globalThis || window;
- require(["app"], function (amberPromise) {
- amberPromise.then(function (amber) {
- amber
- .initialize({
- //used for all new packages in IDE
- "transport.defaultAmdNamespace": "amber-webstore",
- })
- .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();
- });
- // Start the app itself.
- amber.globals.Webstore._start();
- });
- });
- });
- </script>
- </body>
- </html>
|