[web-devel] Yesod. twice CSS code

Anton Cheshkov acheshkov at gmail.com
Mon May 2 15:44:08 CEST 2011


Hello Michael. I have noticed that my css files contain all code twice

*Handler: *
*getApplicationFrameR :: Handler RepHtml*
*getApplicationFrameR = do*
*    defaultLayout $ do*
*       setTitle "Помогай"*
*       addJulius $(juliusFile "application")*
*       addScript JsApiR*
*       addCassius $(cassiusFile "application-frame")*
*       addWidget $(widgetFile "application-frame")*
*
*
*Cassius: (application-frame.cassius):*
*
div#header
    color: red
div#content
    color: green
*


*css output from browser:*
div#header{color:red}div#content{color:green}div#header{color:red}div#
content{color:green}body{font-family:sans-serif}


The Lucius behavior is the same.
What do i make wrong ?

Thanks.

-- 
Best regards,
Cheshkov Anton
Phone: +7 909 005 18 82
Skype: cheshkov_anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110502/f3687179/attachment.htm>


More information about the web-devel mailing list