Login  Register

<script type="text/smalltalk"> :)

Posted by Nicolas Petton on Oct 25, 2012; 5:09pm
URL: https://forum.world.st/script-type-text-smalltalk-tp4652953.html


Hi!

I just pushed a small change that allows us to write script tags in
smalltalk. YOu can now add scripts like the following to you HTML pages:

<script type='text/smalltalk'> window alert: 'Hello from Amber!' </script>

Of course, this will only work if the compiler is loaded.

Cheers,
Nico

--
Nicolas Petton
http://nicolas-petton.fr