I'm not sure what you mean by "works" and "doesn't work", but neither of 
those are valid Sass. Comments should be placed on their own lines, and 
"/*" comments (which output to the stylesheet) don't need to be followed 
by "*/":

.class
  /* Comment
  :float left

.class {
  /* Comment */
  float: left; }

.class
  // Comment
  :float left

.class {
  float: left; }

- Nathan

Scriber wrote:
> When converting CSS into Sass today I've come across a commenting
> issue. Please see below.
>
> Doesn't Work
> .class
>   :float left /* Comment */
>
> Works
> .class
>   :float left // Comment
>
> Just a minor detail, that I'd like to share.
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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