[squeak-dev] Altitude - Hello World #2
Chris Cunnington
smalltalktelevision at gmail.com
Wed Jul 18 15:06:42 UTC 2012
This one is a little better, as it creates a canvas.
But it's still pretty raw.
Chris
ALHelloWorld>>handleRequest: aRequest
| html |
html := ALHtml5Canvas on: (String new writing).
html p: 'Hello World'.
^ ALResponse status: 200 reason: 'OK' body: (ALEntity html: (html
stream contents))
More information about the Squeak-dev
mailing list
|