index.html 699 B

12345678910111213141516171819202122232425
  1. <html>
  2. <head>
  3. <title>TrySmalltalk</title>
  4. <script src="../bower_components/amber/support/requirejs/require.min.js" type="text/javascript"></script>
  5. <script src="../bower_components/amber/support/amber.js" type="text/javascript"></script>
  6. </head>
  7. <body>
  8. <script type="text/javascript">
  9. require.config({
  10. paths: {
  11. 'amber_examples_profstef': 'js',
  12. 'amber_examples_profstef/_source': 'st'
  13. }
  14. });
  15. require(['amber/devel','amber_examples_profstef/TrySmalltalk'],function(smalltalk) {
  16. smalltalk.defaultAmdNamespace = 'amber_examples_profstef';
  17. smalltalk.initialize();
  18. smalltalk.Browser._openOn_(smalltalk.ProfStef);
  19. smalltalk.TrySmalltalkWidget._open();
  20. });
  21. </script>
  22. </body>
  23. </html>