1234567891011121314151617181920212223242526272829303132333435 |
- <html>
- <head>
- <title data-trap="App #title"></title>
- <script src="../vendor/amber/support/amber.js"></script>
- <script type='text/javascript' src='../vendor/amber/support/requirejs/require.min.js'></script>
- <link rel="stylesheet" href="demo.css" />
- </head>
- <body>
- <script type="text/javascript">
- var AppEntity;
- require.config({
- paths: {
- 'gh_herby_trapped': '../js',
- 'gh_herby_trapped/_source': '../st'
- }
- });
- require(
- ["amber/devel",
- "gh_herby_trapped/Trapped-Backend", "gh_herby_trapped/Trapped-Frontend", "gh_herby_trapped/Trapped-Demo" ],
- function (smalltalk) {
- smalltalk.defaultAmdNamespace = 'gh_herby_trapped';
- smalltalk.initialize();
- $(function() {
- smalltalk.Browser._openOn_(smalltalk.App);
- AppEntity = smalltalk.App._new();
- smalltalk.Trapped._start_([AppEntity]);
- });
- }
- );
- </script>
- <div data-trap="AppView: App">
- </div>
- </body>
- </html>
|