Login  Register

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

Posted by sebastianconcept on Oct 30, 2012; 1:36am
URL: https://forum.world.st/script-type-text-smalltalk-tp4652953p4653275.html

great! I like it.

BTW just a heads up, the nodejs example code is broken in the master branch

I'd like to take a look at amber + nodejs apps with the new compiler

thanks!

sebastian




On Thursday, October 25, 2012 3:09:09 PM UTC-2, nicolas petton wrote:

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