I agree, it is horrid.
That got rid of the error I was getting. I was doing %h1{:id =>
'header'....}
Problem with cut-paste-convert from dojo sample code.
But then haml is awesome and makes up for some of the pain of Dojo :)
Thank you for haml and the quick reply.

-bakki

On Mar 24, 3:39 pm, Hampton <[EMAIL PROTECTED]> wrote:
> #main{:dojoType => "dijit.layout.LayoutContainer"}
>   %h1#header{:dojoType => "dijit.layout.ContentPane", :layoutAlign => "top"}
>     Theme Test Page
>
> Viola. Not much cleaner though. Jesus Dojo looks ugly as sin.
> Not even Haml can make that shit look concise.
>
> On Mon, Mar 24, 2008 at 3:37 PM, bakki <[EMAIL PROTECTED]> wrote:
>
> >  Is there a way to express something like:
>
> >  <div id="main" dojoType="dijit.layout.LayoutContainer">
> >   <h1 id="header" dojoType="dijit.layout.ContentPane"
> >  layoutAlign=top>Dijit Theme Test Page</h1>
>
> >  in haml?
>
> >  -bakki

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to