[Seaside] still struggling with the confusing scripting API's

Johan Brichau johan at inceptive.be
Fri Oct 30 20:09:41 UTC 2015


> On 30 Oct 2015, at 17:52, Chris Muller <ma.chris.m at gmail.com> wrote:
> 
> PS -- I think the inconsistency of the API is part of my struggle.
> JSObject script: can accept a Block, and WAHtmlCanvas>>#script: SAYS
> it takes "aBlock", but that HAS to be wrong, because
> WAScriptTag>>#with: ends up writing the Block's "greaseString" to the
> stream...

The argument name of WAHtmlCanvas>>script: is indeed wrong.
I guess this was a copy/paste issue.

Thanks for spotting. Will fix that.

Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20151030/32031968/attachment-0001.htm


More information about the seaside mailing list