[Seaside] HTML5 and RenderLoopContinuation
Tobias Pape
Das.Linux at gmx.de
Thu Nov 22 15:46:20 UTC 2012
Dear Boris,
Am 22.11.2012 um 14:18 schrieb Boris Popov, DeepCove Labs:
> Tobias,
>
> This is what we do in our shared library class to configure all roots for HTML5,
>
> aHtmlRoot beHtml5.
> aHtmlRoot headElements copy do: [:ea | (ea isKindOf: WAMetaElement) ifTrue: [aHtmlRoot headElements remove: ea]].
> (aHtmlRoot htmlAttributes)
> addClass: 'no-js';
> removeKey: 'xmlns';
> removeKey: 'xml:lang';
> removeKey: 'lang'.
> aHtmlRoot headElements addFirst: ((WAMetaElement root: aHtmlRoot)
> attributeAt: 'charset' put: 'utf-8';
> yourself).
> (aHtmlRoot meta)
> responseHeaderName: 'X-UA-Compatible';
> content: 'IE=edge,chrome=1'.
Thanks for sharing!
Best
-Tobias
More information about the seaside
mailing list