No, primitives are tamed/untamed as the identity transform. Functions like:
function foo() { return 3; }
function bar() { return "hiya"; }
need no further elaboration in taming.
Ihab
On Thu, Jun 27, 2013 at 10:49 AM, Doug Koellmer <[email protected]> wrote:
> I'm working on making my host API a little richer, and have started adding
> getters for guest code can call. Some of the getters return objects with
> primitive fields (string or int), and as such I'm doing the mark/tame
> procedure described here:
> https://developers.google.com/caja/docs/callingguestcode/.
>
> Do I have to do anything special if the return value itself is a primitive
> though? I suspect not...just want to make sure.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Google Caja Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Ihab A.B. Awad, Palo Alto, CA
--
---
You received this message because you are subscribed to the Google Groups
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.