On Wed, Dec 16, 2009 at 12:43 PM, Ash Berlin <[email protected]> wrote:
>
> On 16 Dec 2009, at 20:21, Mike Samuel wrote:
>
> > jsont`{$name:html}: <a
> > href="{$url|html-attr-value}">{$anchor|html}</a>{default=html}`
> >
> > function jsont(var_args) {
> > var literalPortions = Array.prototype.slice.call(arguments, 0);
>
>
> So if i remember correctly:
>
> foo`a${b}c` -> foo("a", "c')(b);
>
> How then are these treated:
>
> foo`a${b}${d}c`
>
foo("a","","c")(b,d)
> foo`a${b}c${d}`
>
foo("a","c","")(b,d)
>
> -ash
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
--
Cheers,
--MarkM
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss