[Seaside] WAHtmlRoot>>writeHeadOn: changed

Avi Bryant avi at dabbledb.com
Wed May 16 18:52:35 UTC 2007


On 5/16/07, Lukas Renggli <renggli at gmail.com> wrote:

> Thanks for pointing this issue out. I didn't thought of that, because
> I usually don't use #writeStylesOn: and #writeScriptsOn:.
> Seaside2.8a1-lr.322 reorders the elements like this:
>
>         self writeStylesOn: aDocument.
>         self writeScriptsOn: aDocument.
>         self writeElementsOn: aDocument.
>
> I put #writeElementsOn: at the last position. I think this makes more
> sense, but I don't know how this was handled before?

I think elements should be in the first position - that way you end up
with the external scripts and styles first, and the inline scripts and
styles (which may reference or override stuff in the external files)
second.

Avi


More information about the seaside mailing list