On Sep 17, 12:58 am, Chris Eppstein <[email protected]> wrote:
> You can't use null, it doesn't exist yet. (Pun intended)

Yup. I tested and I was about to write back.

> The reason you're getting a syntax error is that optional arguments cannot
> be provided unless all the previous arguments are specified like so:

Yup. I am was doing it like this when I got the errors, but I do hate
all the extra characters ;)

> 2) as explicit params:
>
> +p(!a = 1, !d = 3px * 1em / 12px)

That was going to be my next suggestion -- but I wasn't sure if I was
getting too greedy. I mean, I like the idea (I am so spoiled from
Studio 10-4), but I wasn't sure for others.

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