1234567891011121314151617181920212223242526272829 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Amber Smalltalk wrapper around jQuery</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;
- new Promise(function (resolve, reject) {
- require(['app'], resolve, reject);
- }).then(function (amber) {
- return amber.initialize({
- //used for all new packages in IDE
- 'transport.defaultAmdNamespace': "amber/jquery"
- });
- }).then(function () {
- require(["amber-ide-starter-dialog"], function (dlg) {
- dlg.start();
- });
- });
- </script>
- </body>
- </html>
|