ANN: Silk release

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ANN: Silk release

Herby Vojčík
Hello!

There is new Silk release 0.5.2.

It brings better experience with namespaced structures.

Thanks Christian Haider for that. Citing from new code doc:

You can do:
   svg := Silk newElement: 'svg' xmlns: 'http://www.w3.org/2000/svg'.
   svg CIRCLE: {'cx' -> 60. 'cy' -> 25. 'r' -> 10}.
This creates a svg circle, not a html circle.

Also added is convenient message #newSvgElement, so above code can be:
   svg := Silk newSvgElement. "aSilk newSvgElement works, too, & inserts"
   svg CIRCLE: {'cx' -> 60. 'cy' -> 25. 'r' -> 10}.

Herby

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/amber-lang/f23a461c-272f-e4e7-e887-3749cfeda688%40mailbox.sk.