[Developers] acre.markup.define_browser_var
Kirrily Robert
kirrily at metaweb.com
Wed Jul 29 04:16:53 UTC 2009
This should be in the cookbook on freebaseapps.com!
K.
On 28/07/2009, at 3:22 AM, Philip Kendall wrote:
> On Mon, Jul 27, 2009 at 12:07:17PM -0700, Stefano Mazzocchi wrote:
>>
>> So, if you want to pass an acre object over to the client side you
>> can
>> simply do
>>
>> <acre:script>
>> var a = whatever();
>> </acre:script>
>>
>> <script>
>> var a = ${JSON.stringify(a)};
>> </script>
>
> Works wonderfully, thanks :-)
>
> Cheers,
>
> Phil
>
> --
> Philip Kendall <philip at shadowmagic.org.uk>
> http://www.shadowmagic.org.uk/
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
--
Kirrily Robert
Freebase Community Director
kirrily at metaweb.com
More information about the Developers
mailing list