[web-devel] Yesod: Regarding Widgets and addJulius

Mathew de Detrich deteego at gmail.com
Sat May 7 08:26:14 CEST 2011

I seem to have come across a problem regarding javascript and using widgets
(im using Yesod 0.7.3). I add javascript to widgets normally with addJulius,
however when they get added into the head of the website, the tags that
enclose the javascript code are

Instead of

<script type="text/javascript">

I also think this is the reason why the javascript is not executing on my

Also unless I am missing something would it be possible to implement a
function like addJulius but instead of adding it to the script to the <head>
html page, the javascript gets concatenated into a .js file (which is
returned by some route).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110507/54264f7c/attachment.htm>

More information about the web-devel mailing list