[web-devel] Yesod. script incuding

Michael Snoyman michael at snoyman.com
Thu Mar 31 18:32:25 CEST 2011


My guess is he'd also like to use addHamletHead, so it ends up
(drumroll...) in the head tag.

Yesod 0.8 will support adding arbitrary attributes to your <link
rel="stylesheet"> and <script> tags. I'm adding the feature as we
speak (err, type).

Michael

On Thu, Mar 31, 2011 at 6:27 PM, Max Cantor <mxcantor at gmail.com> wrote:
> Can't you pretty much put that line, exactly as it is, into a hamlet file?
>
> max
>
> On Mar 31, 2011, at 11:40 PM, Anton Cheshkov wrote:
>
>> Hello Michael.
>>
>> Please show me the best way how to include  <script src="http://example.com"  charset="windows-1251">
>>
>> The "addScriptRemote" functions have only single argument.
>>
>> Thanks.
>>
>> --
>> Best regards,
>> Cheshkov Anton
>> Phone: +7 909 005 18 82
>> Skype: cheshkov_anton
>> _______________________________________________
>> web-devel mailing list
>> web-devel at haskell.org
>> http://www.haskell.org/mailman/listinfo/web-devel
>
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>



More information about the web-devel mailing list