On Mon, Sep 15, 2008 at 2:57 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> Nathan,
>
> Nathan Bubna wrote:
>> On Mon, Sep 15, 2008 at 8:53 AM, Will Glass-Husain
>> <[EMAIL PROTECTED]> wrote:
>>> Wouldn't it be more appropriate to pass in a map of parameters?
>>
>> heh.  yeah, why don't they do that?
>
> I'm sure they don't do that because of the syntactic differences.
>
> Is it possible to call a macro with an in-line Map definition like this:
>
> #whatever(["foo"=>"bar", "baz"=>"bat", ...])

yes, but the syntax is:

#whatever({ 'foo' : 'bar', "baz" : "bat" })

i'm sure a custom directive would/should take an inline map as well.

> ?
>
> -chris
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to