Quantcast

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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Nicolas Petton

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

sebastianconcept
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
Loading...